From a75e027dcf6af386d82e125bbffafd9c5db09feb Mon Sep 17 00:00:00 2001 From: Parapets Date: Tue, 5 Nov 2024 13:15:48 +0000 Subject: [PATCH] Fix intellisense error --- include/REL/Relocation.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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() {