summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eolian_cxx/grammar/inheritance_base_generator.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian_cxx/grammar/inheritance_base_generator.hh b/src/lib/eolian_cxx/grammar/inheritance_base_generator.hh
index 82678496ee..38382d5092 100644
--- a/src/lib/eolian_cxx/grammar/inheritance_base_generator.hh
+++ b/src/lib/eolian_cxx/grammar/inheritance_base_generator.hh
@@ -21,7 +21,7 @@ _ns_as_prefix(eo_class const& cls)
21 std::string::size_type found = s.find("::"); 21 std::string::size_type found = s.find("::");
22 while (found != std::string::npos) 22 while (found != std::string::npos)
23 { 23 {
24 s.replace(found, 1, "_"); 24 s.replace(found, 2, "_");
25 found = s.find("::"); 25 found = s.find("::");
26 } 26 }
27 return s; 27 return s;