savio pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=3c900530911b8fb283201d323039e81b9f4390cd
commit 3c900530911b8fb283201d323039e81b9f4390cd Author: Savio Sena <sa...@expertisesolutions.com.br> Date: Fri Sep 12 16:41:33 2014 -0300 eolian-cxx: Simply use find_replace instead of long form. --- src/bin/eolian_cxx/eolian_wrappers.hh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh index 6144f9d..1a90c86 100644 --- a/src/bin/eolian_cxx/eolian_wrappers.hh +++ b/src/bin/eolian_cxx/eolian_wrappers.hh @@ -84,13 +84,8 @@ class_eo_name(Eolian_Class const& klass) default: break; } - std::string s = class_full_name(klass) + "_" + suffix; - std::transform(s.begin(), s.end(), s.begin(), - [](int c) - { - return c == '.' ? '_' : c ; - }); - return safe_upper(s); + return safe_upper + (find_replace(class_full_name(klass) + "_" + suffix, ".", "_")); } inline std::string --