diff --git a/sample_mm/Makefile b/sample_mm/Makefile index d0ab237..9a1b3a1 100644 --- a/sample_mm/Makefile +++ b/sample_mm/Makefile @@ -26,7 +26,7 @@ OBJECTS = sample_mm.cpp ############################################## OPT_FLAGS = -O3 -funroll-loops -pipe -GCC4_FLAGS = -fvisibility=hidden -fvisibility-inlines-hidden +GCC4_FLAGS = -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 DEBUG_FLAGS = -g -ggdb3 -D_DEBUG CPP = gcc CPP_OSX = clang diff --git a/sample_mm/sample_mm.cpp b/sample_mm/sample_mm.cpp index 77a2f77..c5520ff 100644 --- a/sample_mm/sample_mm.cpp +++ b/sample_mm/sample_mm.cpp @@ -28,7 +28,6 @@ SH_DECL_HOOK5(IServerGameClients, ClientConnect, SH_NOATTRIB, 0, bool, edict_t * SH_DECL_HOOK2(IGameEventManager2, FireEvent, SH_NOATTRIB, 0, bool, IGameEvent *, bool); #if SOURCE_ENGINE >= SE_ORANGEBOX -SH_DECL_HOOK2_void(IServerGameClients, NetworkIDValidated, SH_NOATTRIB, 0, const char *, const char *); SH_DECL_HOOK2_void(IServerGameClients, ClientCommand, SH_NOATTRIB, 0, edict_t *, const CCommand &); #else SH_DECL_HOOK1_void(IServerGameClients, ClientCommand, SH_NOATTRIB, 0, edict_t *);