Added "final" to generated types to block inheritance.
authorWouter van Oortmerssen <wvo@google.com>
Wed, 19 Nov 2014 19:03:32 +0000 (11:03 -0800)
committerWouter van Oortmerssen <wvo@google.com>
Wed, 19 Nov 2014 21:41:15 +0000 (13:41 -0800)
commit285501f7bef048c21d0424653637f6f295b7d4fb
tree0db8447afa0aaeee4a1ecd1c7e7b8d530d680626
parent0952143971bdbb5ef20dae8a865e811a0e31b4b3
Added "final" to generated types to block inheritance.

People sometimes accidentally inherit from these types.

Bug: 18224703
Change-Id: Ia09489a834ac4941f9b4a46f240cbdcf456f03a1
Tested: on Windows and Linux.
include/flatbuffers/flatbuffers.h
samples/monster_generated.h
src/idl_gen_cpp.cpp
tests/monster_test_generated.h