eolian-cxx: Fixed inheritance extensions not proper qualifying the base class
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Wed, 16 Jul 2014 14:33:42 +0000 (11:33 -0300)
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>
Fri, 18 Jul 2014 21:57:13 +0000 (18:57 -0300)
The generator now globally qualifies the base names, so it works
outside the efl namespace

src/lib/eolian_cxx/grammar/eo_class_constructors_generator.hh

index f25a9a9..adc4e63 100644 (file)
@@ -46,8 +46,8 @@ operator<<(std::ostream& out, class_extensions const& x)
         if (it != first) out << ",";
         out << tab(2)
             << "efl::eo::detail::extension_inheritance<"
-            <<  *it << ">::type<"
-            <<  cls.name << ">";
+            <<  *it << ">::type< ::"
+            <<  cls.name_space << "::" << cls.name << ">";
      }
    out << endl;
    return out;