diff --git a/include/REL/Relocation.h b/include/REL/Relocation.h index 6a27f77ee..8e6298bce 100644 --- a/include/REL/Relocation.h +++ b/include/REL/Relocation.h @@ -513,13 +513,13 @@ namespace REL static Module _singleton; inline static bool _loaded{ false }; - std::array _filename; - std::array _segments; + std::array _filename{ L"" }; + std::array _segments{}; Version _version; std::uintptr_t _base{ 0 }; }; - inline constinit Module Module::_singleton{}; + inline constinit Module Module::_singleton; inline Module& Module::get() { @@ -832,7 +832,7 @@ namespace REL std::span _id2offset; }; - inline constinit IDDatabase IDDatabase::_singleton{}; + inline constinit IDDatabase IDDatabase::_singleton; inline IDDatabase& IDDatabase::get() { @@ -942,7 +942,7 @@ namespace REL std::size_t _capacity{ 0 }; }; - inline constinit AddressManager AddressManager::_singleton{}; + inline constinit AddressManager AddressManager::_singleton; inline AddressManager& AddressManager::get() {