Kernel: replace boost::intrusive_ptr with std::shared_ptr
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Service::APT::BCFNT {
|
||||
|
||||
void RelocateSharedFont(Kernel::SharedPtr<Kernel::SharedMemory> shared_font, VAddr new_address) {
|
||||
void RelocateSharedFont(std::shared_ptr<Kernel::SharedMemory> shared_font, VAddr new_address) {
|
||||
static const u32 SharedFontStartOffset = 0x80;
|
||||
const u8* cfnt_ptr = shared_font->GetPointer(SharedFontStartOffset);
|
||||
|
||||
|
||||
@@ -83,6 +83,6 @@ struct CWDH {
|
||||
* @param shared_font SharedMemory object that contains the Shared Font
|
||||
* @param new_address New base for the offsets in the structure.
|
||||
*/
|
||||
void RelocateSharedFont(Kernel::SharedPtr<Kernel::SharedMemory> shared_font, VAddr new_address);
|
||||
void RelocateSharedFont(std::shared_ptr<Kernel::SharedMemory> shared_font, VAddr new_address);
|
||||
|
||||
} // namespace Service::APT::BCFNT
|
||||
|
||||
Reference in New Issue
Block a user