diff --git a/src/KingSystem/Resource/resEntryFactory.h b/src/KingSystem/Resource/resEntryFactory.h index 611a2122..1ac243f2 100644 --- a/src/KingSystem/Resource/resEntryFactory.h +++ b/src/KingSystem/Resource/resEntryFactory.h @@ -40,7 +40,7 @@ public: sead::DirectResource* newResource_(sead::Heap* heap_, s32 alignment) override { sead::Heap* heap = util::getHeapOrCurrentHeap(heap_); sead::ScopedCurrentHeapSetter setter{heap}; - return new (heap, alignment, std::nothrow_t{}) T{}; + return new (heap, alignment, std::nothrow_t{}) T; } protected: