1
0

Wrapped clang-specific pragma into an #ifdef block.

MSVC was complaining about an unknown pragma.
This commit is contained in:
madmaxoft 2014-09-27 21:33:50 +02:00
parent 28ebe11df2
commit d1a72eb6de

View File

@ -8,6 +8,11 @@
#include "Simulator.inc" #include "Simulator.inc"
#pragma clang diagnostic ignored "-Wweak-template-vtables" #ifdef __clang__
#pragma clang diagnostic ignored "-Wweak-template-vtables"
#endif // __clang__
template class cSimulator<cChunk, cWorld>; template class cSimulator<cChunk, cWorld>;