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

@@ -54,7 +54,7 @@ template<> struct EquipmentTraits<Weapon> {
};
struct EquipmentUnion {
Equipment type = Equipment_NONE;
Equipment type;
flatbuffers::NativeTable *table = nullptr;
EquipmentUnion() : type(Equipment_NONE), table(nullptr) {}