Permalink
Browse files

Wrapped clang-specific pragma into an #ifdef block.

MSVC was complaining about an unknown pragma.
  • Loading branch information...
madmaxoft committed Sep 27, 2014
1 parent 28ebe11 commit d1a72eb6de22d6b8fd4ba126e796baca68c0ae2b
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/Simulator/Simulator.cpp
@@ -8,6 +8,11 @@
#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>;

0 comments on commit d1a72eb

Please sign in to comment.