mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Allow compilation on gcc/clang without -Wno-unknown-pragmas.
This commit is contained in:
@ -10,8 +10,10 @@
|
||||
// memdbgon must be the last include file in a .cpp file!!!
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
// warning C4660: template-class specialization 'CInterpolatedVar<float>' is already instantiated
|
||||
#pragma warning( disable : 4660 )
|
||||
#endif
|
||||
|
||||
template class CInterpolatedVar<float>;
|
||||
template class CInterpolatedVar<Vector>;
|
||||
|
Reference in New Issue
Block a user