somehow, clang wants explicit instantiation for those
This commit is contained in:
parent
557d591dd9
commit
8adc59652f
12
games/teeworlds/patches/patch-src_engine_shared_netban_cpp
Normal file
12
games/teeworlds/patches/patch-src_engine_shared_netban_cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
$OpenBSD: patch-src_engine_shared_netban_cpp,v 1.1 2017/05/06 13:42:17 espie Exp $
|
||||||
|
|
||||||
|
Index: src/engine/shared/netban.cpp
|
||||||
|
--- src/engine/shared/netban.cpp.orig
|
||||||
|
+++ src/engine/shared/netban.cpp
|
||||||
|
@@ -601,3 +601,6 @@ void CNetBan::ConBansSave(IConsole::IResult *pResult,
|
||||||
|
str_format(aBuf, sizeof(aBuf), "saved banlist to '%s'", pResult->GetString(0));
|
||||||
|
pThis->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "net_ban", aBuf);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+template class CNetBan::CBanPool<NETADDR, 1>;
|
||||||
|
+template class CNetBan::CBanPool<CNetRange, 16>;
|
Loading…
Reference in New Issue
Block a user