pre-tag version bump for 1.12

Change-Id: I84a9365e9d8a1afe333b1df85058401ffe0a6b7c
This commit is contained in:
Wouter van Oortmerssen
2020-03-12 14:41:06 -07:00
parent 0dba63909f
commit 6df40a2471
64 changed files with 81 additions and 81 deletions

View File

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

View File

@@ -592,7 +592,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_11_1(); ";
code += "FLATBUFFERS_1_12_0(); ";
code += "}\n";
// Generate a special accessor for the table that when used as the root

View File

@@ -457,7 +457,7 @@ class KotlinGenerator : public BaseGenerator {
// Force compile time error if not using the same version
// runtime.
GenerateFunOneLine(writer, "validateVersion", "", "", [&]() {
writer += "Constants.FLATBUFFERS_1_11_1()";
writer += "Constants.FLATBUFFERS_1_12_0()";
});
GenerateGetRootAsAccessors(Esc(struct_def.name), writer);

View File

@@ -790,7 +790,7 @@ class SwiftGenerator : public BaseGenerator {
}
std::string ValidateFunc() {
return "\tstatic func validateVersion() { FlatBuffersVersion_1_11_1() }";
return "\tstatic func validateVersion() { FlatBuffersVersion_1_12_0() }";
}
std::string GenType(const Type &type) const {