summaryrefslogtreecommitdiff
path: root/samples/monster_generated.h
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2016-12-19 17:04:35 -0800
committerWouter van Oortmerssen <aardappel@gmail.com>2016-12-19 17:04:35 -0800
commit03ee3db2408e477137c83195e0e18c26f9d2ab25 (patch)
tree3f1f254d0a5000018c44939f005c2e78cb0bf5f2 /samples/monster_generated.h
parentcf825b88198fd0489f9c1fd0da3535439f125bc6 (diff)
downloadflatbuffers-03ee3db2408e477137c83195e0e18c26f9d2ab25.tar.gz
flatbuffers-03ee3db2408e477137c83195e0e18c26f9d2ab25.tar.bz2
flatbuffers-03ee3db2408e477137c83195e0e18c26f9d2ab25.zip
Fixed Windows build errors.
Change-Id: I11548bfa3cfe307598eb59c56412974c349d614d
Diffstat (limited to 'samples/monster_generated.h')
-rw-r--r--samples/monster_generated.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/monster_generated.h b/samples/monster_generated.h
index 1f9d9f15..a3a2fb2a 100644
--- a/samples/monster_generated.h
+++ b/samples/monster_generated.h
@@ -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) {}