summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_protoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_protoint.h b/include/m_protoint.h
index f32b07983b..56063d0cd1 100644
--- a/include/m_protoint.h
+++ b/include/m_protoint.h
@@ -260,7 +260,7 @@ template<class T> struct PROTO : public PROTO_INTERFACE
::ProtoHookEvent(this, name, (ProtoEventFunc)pFunc); }
typedef void(__cdecl T::*MyThreadFunc)(void*);
- __forceinline void ForkThread(MyThreadFunc pFunc, void *param) {
+ __forceinline void ForkThread(MyThreadFunc pFunc, void *param = nullptr) {
::ProtoForkThread(this, (ProtoThreadFunc)pFunc, param); }
HANDLE __forceinline ForkThreadEx(MyThreadFunc pFunc, void *param, UINT *pThreadId) {
return ::ProtoForkThreadEx(this, (ProtoThreadFunc)pFunc, param, pThreadId); }