Fixed Windows build errors.

Change-Id: I11548bfa3cfe307598eb59c56412974c349d614d
This commit is contained in:
Wouter van Oortmerssen
2016-12-19 17:04:35 -08:00
parent cf825b8819
commit 03ee3db240
4 changed files with 41 additions and 43 deletions

View File

@@ -76,7 +76,7 @@ template<> struct AnyTraits<MyGame::Example2::Monster> {
};
struct AnyUnion {
Any type = Any_NONE;
Any type;
flatbuffers::NativeTable *table = nullptr;
AnyUnion() : type(Any_NONE), table(nullptr) {}