From a3e1da22968d9a3d5ea22fa98d824715ed775065 Mon Sep 17 00:00:00 2001 From: maybegreat48 <96936658+maybegreat48@users.noreply.github.com> Date: Wed, 2 Jul 2025 10:10:27 -0400 Subject: [PATCH] fix: fix MSVC build (perhaps we need to get CI to use MSVC to catch stuff like this?) --- src/core/memory/Module.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/core/memory/Module.hpp b/src/core/memory/Module.hpp index 2aeb268..cc2978f 100644 --- a/src/core/memory/Module.hpp +++ b/src/core/memory/Module.hpp @@ -98,7 +98,7 @@ namespace YimMenu template inline R Module::GetExport(const std::string_view name) const { - auto result = GetExportImpl(name); + auto result = GetExportImpl(name); if (result) return result; @@ -109,7 +109,7 @@ namespace YimMenu template inline R Module::GetExport(const int ordinal) const { - auto result = GetExportImpl(ordinal); + auto result = GetExportImpl(ordinal); if (result) return result; @@ -119,12 +119,13 @@ namespace YimMenu inline bool Module::IsExported(const std::string_view symbolName) const { - return GetExportImpl(symbolName) != nullptr; + + return GetExportImpl(symbolName) != nullptr; } inline bool Module::IsExported(const int ordinal) const { - return GetExportImpl(ordinal) != nullptr; + return GetExportImpl(ordinal) != nullptr; } template