diff --git a/src/BasicUtils/Hooking.cpp b/src/BasicUtils/Hooking.cpp index 7040fd1..80df106 100644 --- a/src/BasicUtils/Hooking.cpp +++ b/src/BasicUtils/Hooking.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include namespace Hooking { diff --git a/src/BasicUtils/Utils.h b/src/BasicUtils/Utils.h index e9104df..4ea001c 100644 --- a/src/BasicUtils/Utils.h +++ b/src/BasicUtils/Utils.h @@ -47,7 +47,7 @@ namespace Utils #endif template - constexpr auto TypeConvert(const T& arg) + const auto& TypeConvert(const T& arg) { if constexpr (std::is_same_v) { return std::wstring_view(arg);