summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormustiikhalil <mustii@mmk.one>2020-11-15 17:50:12 +0300
committerGitHub <noreply@github.com>2020-11-15 17:50:12 +0300
commit6764f25d9195f60f2dab6ac2c9f92f6936280597 (patch)
tree812aa6401b47d459155cde9790ecceac5a169e0e
parentd6a8dbd26ff08a8868e0d0c1b4b67d31b40e4a7f (diff)
downloadflatbuffers-6764f25d9195f60f2dab6ac2c9f92f6936280597.tar.gz
flatbuffers-6764f25d9195f60f2dab6ac2c9f92f6936280597.tar.bz2
flatbuffers-6764f25d9195f60f2dab6ac2c9f92f6936280597.zip
Adds a fix for enum generation (#6263)
-rw-r--r--src/idl_gen_swift.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/idl_gen_swift.cpp b/src/idl_gen_swift.cpp
index c377e9f6..a1a9a8eb 100644
--- a/src/idl_gen_swift.cpp
+++ b/src/idl_gen_swift.cpp
@@ -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;
}