Removed date/time from generated code, causing commit polution.

Change-Id: I79724416110a3d2241d7eeecf0e12aa6d5b760a0
This commit is contained in:
Wouter van Oortmerssen
2018-01-18 11:21:10 -08:00
parent 4bddc6cc0c
commit 2265129e14
2 changed files with 6 additions and 7 deletions

View File

@@ -55,8 +55,7 @@ void GenerateImports(grpc_generator::File* file,
vars["filename"] = file->filename(); vars["filename"] = file->filename();
printer->Print( printer->Print(
vars, vars,
"//Generated by flatc compiler (version $flatc_version$) on " __DATE__ "//Generated by flatc compiler (version $flatc_version$)\n");
" " __TIME__ " \n");
printer->Print("//If you make any local changes, they will be lost\n"); printer->Print("//If you make any local changes, they will be lost\n");
printer->Print(vars, "//source: $filename$.fbs\n\n"); printer->Print(vars, "//source: $filename$.fbs\n\n");
printer->Print(vars, "package $Package$;\n\n"); printer->Print(vars, "package $Package$;\n\n");

View File

@@ -1,4 +1,4 @@
//Generated by flatc compiler (version 1.8.0) on Dec 28 2017 10:07:47 //Generated by flatc compiler (version 1.8.0)
//If you make any local changes, they will be lost //If you make any local changes, they will be lost
//source: monster_test.fbs //source: monster_test.fbs