Wrapped clang-specific pragma into an #ifdef block.
MSVC was complaining about an unknown pragma.
This commit is contained in:
parent
28ebe11df2
commit
d1a72eb6de
@ -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>;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user