mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
Merge pull request #3885 from Lakedaemon/shareWarningAndTwoMethods
Share warning and two methods
This commit is contained in:
@@ -747,9 +747,7 @@ class CppGenerator : public BaseGenerator {
|
||||
if (IsEverythingGenerated()) return true;
|
||||
|
||||
std::string code;
|
||||
code =
|
||||
"// automatically generated by the FlatBuffers compiler,"
|
||||
" do not modify\n\n";
|
||||
code = code + "// " + FlatBuffersGeneratedWarning();
|
||||
|
||||
// Generate include guard.
|
||||
std::string include_guard_ident = file_name_;
|
||||
|
||||
Reference in New Issue
Block a user