Adds a fix for enum generation (#6263)
authormustiikhalil <mustii@mmk.one>
Sun, 15 Nov 2020 14:50:12 +0000 (17:50 +0300)
committerGitHub <noreply@github.com>
Sun, 15 Nov 2020 14:50:12 +0000 (17:50 +0300)
src/idl_gen_swift.cpp

index c377e9f..a1a9a8e 100644 (file)
@@ -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;
   }