diff options
author | mustiikhalil <mustii@mmk.one> | 2021-02-19 12:47:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 12:47:28 +0300 |
commit | ae603b9770ee336ad8e7c6e696a8912d63d76c2a (patch) | |
tree | ec612b6b132c2f3b8d7e9301c79b638bb2a62da3 /src/idl_parser.cpp | |
parent | 7f47718b6df1ee40777a9d6bd192eae0ec1c4bb2 (diff) | |
download | flatbuffers-ae603b9770ee336ad8e7c6e696a8912d63d76c2a.tar.gz flatbuffers-ae603b9770ee336ad8e7c6e696a8912d63d76c2a.tar.bz2 flatbuffers-ae603b9770ee336ad8e7c6e696a8912d63d76c2a.zip |
[Swift] adds support for default vectors and strings (#6461)
Small fix
Adhere to the new protocol names
Diffstat (limited to 'src/idl_parser.cpp')
-rw-r--r-- | src/idl_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |