mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 12:43:24 +00:00
[Swift] adds support for default vectors and strings (#6461)
Small fix Adhere to the new protocol names
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user