We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 982bb63 commit 75aab41Copy full SHA for 75aab41
1 file changed
include/dynlibutils/vthook.hpp
@@ -116,11 +116,12 @@ class CVTHook : public CMemory
116
if constexpr (std::is_void_v<R>)
117
{
118
GetOrigin<Function_t>()(args...);
119
-
120
return;
121
}
122
123
- return GetOrigin<Function_t>()(args...);
+ else
+ {
+ return GetOrigin<Function_t>()(args...);
124
+ }
125
126
127
protected: // Implementation methods.
0 commit comments