Skip to content

Commit 24733d1

Browse files
committed
Fix compilation error on macOS
1 parent 25fd800 commit 24733d1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

source/netmessage.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,18 +128,9 @@ namespace NetMessage
128128
static const char *metaname = "INetMessage";
129129
static const char *table_name = "sourcenet_INetMessage";
130130

131-
#ifdef SYSTEM_MACOSX_BAD
132-
133-
static std::map<std::string, void( *)( GarrysMod::Lua::ILuaBase * )> netmessages_setup;
134-
static std::map<std::string, void **> netmessages_vtables;
135-
136-
#else
137-
138131
static std::unordered_map<std::string, void( *)( GarrysMod::Lua::ILuaBase * )> netmessages_setup;
139132
static std::unordered_map<std::string, void **> netmessages_vtables;
140133

141-
#endif
142-
143134
static bool IsValid( INetMessage *msg, CNetChan *netchan )
144135
{
145136
return msg != nullptr && NetChannel::IsValid( netchan );

0 commit comments

Comments
 (0)