projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6a8dbd
)
Adds a fix for enum generation (#6263)
author
mustiikhalil
<mustii@mmk.one>
Sun, 15 Nov 2020 14:50:12 +0000
(17:50 +0300)
committer
GitHub
<noreply@github.com>
Sun, 15 Nov 2020 14:50:12 +0000
(17:50 +0300)
src/idl_gen_swift.cpp
patch
|
blob
|
history
diff --git
a/src/idl_gen_swift.cpp
b/src/idl_gen_swift.cpp
index
c377e9f
..
a1a9a8e
100644
(file)
--- 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;
}