Skip to content

Commit 51afe0c

Browse files
authored
[CORE] Fix compile error "friend cannot be used with static" in mangler's and matchbot's threadfac.h (#1104)
1 parent ef5fea1 commit 51afe0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Core/Tools/mangler/wlib/threadfac.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Runnable
9797

9898
// So do the threadClassLaunchers
9999
#ifdef _WIN32
100-
friend static unsigned __stdcall threadClassLauncher(void *temp);
100+
friend unsigned __stdcall threadClassLauncher(void *temp);
101101
#else // UNIX
102102
friend void *threadClassLauncher(void *temp);
103103
#endif

Core/Tools/matchbot/wlib/threadfac.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Runnable
9797

9898
// So do the threadClassLaunchers
9999
#ifdef _WIN32
100-
friend static unsigned __stdcall threadClassLauncher(void *temp);
100+
friend unsigned __stdcall threadClassLauncher(void *temp);
101101
#else // UNIX
102102
friend void *threadClassLauncher(void *temp);
103103
#endif

0 commit comments

Comments
 (0)