Updated main version numbers to 2.0

This commit is contained in:
Wouter van Oortmerssen
2021-05-10 11:14:47 -07:00
parent 170af59788
commit 8a7d013f85
18 changed files with 21 additions and 21 deletions

View File

@@ -591,7 +591,7 @@ class JavaGenerator : public BaseGenerator {
// Force compile time error if not using the same version runtime.
code += " public static void ValidateVersion() {";
code += " Constants.";
code += "FLATBUFFERS_1_12_0(); ";
code += "FLATBUFFERS_2_0_0(); ";
code += "}\n";
// Generate a special accessor for the table that when used as the root