eolian-cxx: Fix order of initialization

Make order of code the same as the order of initialization. This avoids warnings

efl-mono: Fix lots of warnings in tests

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D7633
This commit is contained in:
Felipe Magno de Almeida 2019-01-17 11:31:06 +00:00 committed by Marcel Hollerbach
parent 8e487069c9
commit d57a7df3b5
1 changed files with 5 additions and 4 deletions

View File

@ -1061,11 +1061,12 @@ struct klass_def
, std::string klass_get_name)
: eolian_name(_eolian_name), cxx_name(_cxx_name)
, namespaces(_namespaces)
, functions(_functions), properties(_properties), inherits(_inherits), type(_type), unit(unit)
, klass_get_name(klass_get_name)
, functions(_functions), properties(_properties), inherits(_inherits), type(_type)
, klass_get_name(klass_get_name), unit(unit)
{}
klass_def(Eolian_Class const* klass, Eolian_Unit const* unit) : unit(unit)
, klass_get_name( ::eolian_class_c_get_function_name_get(klass))
klass_def(Eolian_Class const* klass, Eolian_Unit const* unit)
: klass_get_name( ::eolian_class_c_get_function_name_get(klass))
, unit(unit)
{
for(efl::eina::iterator<const char> namespace_iterator( ::eolian_class_namespaces_get(klass))
, namespace_last; namespace_iterator != namespace_last; ++namespace_iterator)