This commit is contained in:
Khunpon Pond 2024-06-14 00:04:06 +07:00
parent b1a59a0ced
commit 2019c08aa0
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
#include <stdexcept>
#include <mutex>
#include <unordered_map>
#include <string>
#include <detours.h>
namespace Hooking {

View file

@ -47,7 +47,7 @@ namespace Utils
#endif
template<typename T>
constexpr auto TypeConvert(const T& arg)
const auto& TypeConvert(const T& arg)
{
if constexpr (std::is_same_v<T, const wchar_t*>) {
return std::wstring_view(arg);