summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_mono')
-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(