mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 05:47:36 +00:00
sharing the Flatbuffers warning
This commit is contained in:
@@ -29,6 +29,11 @@ class BaseGenerator {
|
||||
protected:
|
||||
virtual ~BaseGenerator(){};
|
||||
|
||||
const char * FlatBuffersGeneratedWarning() {
|
||||
return "automatically generated by the FlatBuffers compiler,"
|
||||
" do not modify\n\n";
|
||||
}
|
||||
|
||||
bool IsEverythingGenerated() {
|
||||
for (auto it = parser_.enums_.vec.begin(); it != parser_.enums_.vec.end();
|
||||
++it) {
|
||||
|
||||
Reference in New Issue
Block a user