Skip to content

Commit

Permalink
Warning disable for MSVC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
John Jordan committed Nov 25, 2011
1 parent 6006b4a commit a7783c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/terrain/Terrain.h
Expand Up @@ -4,6 +4,8 @@
#include "libs.h"
#include "StarSystem.h"

#pragma warning(disable : 4250) // workaround for MSVC 2008 multiple inheritance bug

struct fracdef_t {
fracdef_t() : amplitude(0.0), frequency(0.0), lacunarity(0.0), octaves(0) {}
double amplitude;
Expand Down Expand Up @@ -171,4 +173,6 @@ class TerrainColorTFGood;
class TerrainColorTFPoor;
class TerrainColorVolcanic;

#pragma warning(default : 4250)

#endif /* TERRAIN_H */

0 comments on commit a7783c5

Please sign in to comment.