summaryrefslogtreecommitdiff
path: root/src/bin/eolian_js
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-03 21:06:17 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-03 21:18:19 -0200
commitc9bc6fb4cd903a40f9d4494e70e1feae0c5a4e80 (patch)
tree7a7b7862b28038f622734ba8be681ed3f15f857b /src/bin/eolian_js
parent8ff1194d32f28717e37177af4501e3fbd62fdf41 (diff)
eolian-js: Remove replacing commas by underscores in events.
This was done before when the identifier was used to generate methods. Now using strings to denote events this is not needed anymore.
Diffstat (limited to 'src/bin/eolian_js')
-rw-r--r--src/bin/eolian_js/main.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/eolian_js/main.cc b/src/bin/eolian_js/main.cc
index b144a45ca4..c8dc1f08a4 100644
--- a/src/bin/eolian_js/main.cc
+++ b/src/bin/eolian_js/main.cc
@@ -928,7 +928,6 @@ int main(int argc, char** argv)
928 , last; first != last; ++first) 928 , last; first != last; ++first)
929 { 929 {
930 std::string event_name (::eolian_event_name_get(&*first)); 930 std::string event_name (::eolian_event_name_get(&*first));
931 std::replace(event_name.begin(), event_name.end(), ',', '_');
932 931
933 if (!eolian_event_is_beta(&*first) && 932 if (!eolian_event_is_beta(&*first) &&
934 event_member_names.find(event_name) == event_member_names.end()) 933 event_member_names.find(event_name) == event_member_names.end())