mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 21:28:55 +00:00
Fix #3497: Add support for compiling in g++ 4.4 and 4.5
- Removed uses of lambda expressions - Added custom defines for constexpr and nullptr - Removed trailing comma of last value from generated enums
This commit is contained in:
committed by
Nalinichandra Penke
parent
01025fa22b
commit
b63ebad49d
@@ -65,7 +65,7 @@ struct Monster FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
|
||||
VT_HP = 8,
|
||||
VT_NAME = 10,
|
||||
VT_INVENTORY = 14,
|
||||
VT_COLOR = 16,
|
||||
VT_COLOR = 16
|
||||
};
|
||||
const Vec3 *pos() const { return GetStruct<const Vec3 *>(VT_POS); }
|
||||
Vec3 *mutable_pos() { return GetStruct<Vec3 *>(VT_POS); }
|
||||
|
||||
Reference in New Issue
Block a user