Skip to content

Commit 2019c08

Browse files
committed
temp fix
1 parent b1a59a0 commit 2019c08

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/BasicUtils/Hooking.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <stdexcept>
44
#include <mutex>
55
#include <unordered_map>
6+
#include <string>
67
#include <detours.h>
78

89
namespace Hooking {

src/BasicUtils/Utils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace Utils
4747
#endif
4848

4949
template<typename T>
50-
constexpr auto TypeConvert(const T& arg)
50+
const auto& TypeConvert(const T& arg)
5151
{
5252
if constexpr (std::is_same_v<T, const wchar_t*>) {
5353
return std::wstring_view(arg);

0 commit comments

Comments
 (0)