mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-07 05:47:36 +00:00
Adds a fix for enum generation (#6263)
This commit is contained in:
@@ -1384,7 +1384,6 @@ class SwiftGenerator : public BaseGenerator {
|
||||
const auto &ev = **enum_def.Vals().begin();
|
||||
name = Name(ev);
|
||||
}
|
||||
std::transform(name.begin(), name.end(), name.begin(), CharToLower);
|
||||
return "." + name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user