mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-29 05:30:01 +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
@@ -43,7 +43,7 @@ STRUCT_END(StructInNestedNS, 8);
|
||||
|
||||
struct TableInNestedNS FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
|
||||
enum {
|
||||
VT_FOO = 4,
|
||||
VT_FOO = 4
|
||||
};
|
||||
int32_t foo() const { return GetField<int32_t>(VT_FOO, 0); }
|
||||
bool mutate_foo(int32_t _foo) { return SetField(VT_FOO, _foo); }
|
||||
|
||||
Reference in New Issue
Block a user