From ae603b9770ee336ad8e7c6e696a8912d63d76c2a Mon Sep 17 00:00:00 2001 From: mustiikhalil Date: Fri, 19 Feb 2021 12:47:28 +0300 Subject: [Swift] adds support for default vectors and strings (#6461) Small fix Adhere to the new protocol names --- src/idl_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/idl_parser.cpp') diff --git a/src/idl_parser.cpp b/src/idl_parser.cpp index c633191d..0f48c84e 100644 --- a/src/idl_parser.cpp +++ b/src/idl_parser.cpp @@ -2434,7 +2434,7 @@ bool Parser::SupportsOptionalScalars() const { bool Parser::SupportsDefaultVectorsAndStrings() const { static FLATBUFFERS_CONSTEXPR unsigned long supported_langs = - IDLOptions::kRust; + IDLOptions::kRust | IDLOptions::kSwift; return !(opts.lang_to_generate & ~supported_langs); } -- cgit v1.2.3