summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/klass.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-03-07 10:54:35 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-03-07 13:03:33 +0100
commitc67f199b2f24b5759e87e9c67761dca7f1dbd4d1 (patch)
tree299b16e787939241fb0f628b9fb298862c23db59 /src/bin/eolian_mono/eolian/mono/klass.hh
parent76c67957b05875fb645daf8e76170703fbdfa0ce (diff)
efl-csharp: Respect beta in constructor parameters.
Summary: Fixes compilation after Efl.Ui.Win parameter changes. Also removed an unused var and now we pass the beta option to the eolian mono invocation for the tests. Fixes T7723 Reviewers: segfaultxavi, felipealmeida, vitor.sousa Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7723 Differential Revision: https://phab.enlightenment.org/D8150
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/klass.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 993378f..199dd8c 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -510,7 +510,12 @@ struct klass
510 ).generate(sink, attributes::unused, context)) 510 ).generate(sink, attributes::unused, context))
511 return false; 511 return false;
512 512
513 auto constructors = helpers::reorder_constructors(cls.get_all_constructors()); 513 auto all_constructors = helpers::reorder_constructors(cls.get_all_constructors());
514 decltype (all_constructors) constructors;
515
516 std::copy_if(all_constructors.cbegin(), all_constructors.cend(), std::back_inserter(constructors), [&context](attributes::constructor_def const& ctor) {
517 return !blacklist::is_function_blacklisted(ctor.function, context);
518 });
514 519
515 // Public (API) constructors 520 // Public (API) constructors
516 if (!as_generator( 521 if (!as_generator(