diff options
author | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2019-01-17 11:31:06 +0000 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2019-01-17 14:45:11 +0100 |
commit | d57a7df3b5ad731fe0bd4f9cd07b448955380e58 (patch) | |
tree | 6bde49370ce00ef23120dda6d29ee09784da9549 /src/lib/eolian_cxx | |
parent | 8e487069c9700c6e8f9d81a93bf5a09feabdc6ed (diff) | |
download | efl-d57a7df3b5ad731fe0bd4f9cd07b448955380e58.tar.gz |
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
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r-- | src/lib/eolian_cxx/grammar/klass_def.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp index f69fca29d3..fc9d09519a 100644 --- a/src/lib/eolian_cxx/grammar/klass_def.hpp +++ b/src/lib/eolian_cxx/grammar/klass_def.hpp @@ -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) |