diff options
Diffstat (limited to 'src/idl_gen_swift.cpp')
-rw-r--r-- | src/idl_gen_swift.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idl_gen_swift.cpp b/src/idl_gen_swift.cpp index 9e48f820..3fffd394 100644 --- a/src/idl_gen_swift.cpp +++ b/src/idl_gen_swift.cpp @@ -1482,7 +1482,7 @@ class SwiftGenerator : public BaseGenerator { } std::string ValidateFunc() { - return "static func validateVersion() { FlatBuffersVersion_1_12_0() }"; + return "static func validateVersion() { FlatBuffersVersion_2_0_0() }"; } std::string GenType(const Type &type, |