diff --git a/source/to_cpp1.h b/source/to_cpp1.h index 6e0d02e56..53a626a6a 100644 --- a/source/to_cpp1.h +++ b/source/to_cpp1.h @@ -6544,7 +6544,7 @@ class cppfront func->is_constructor() && !func->is_constructor_with_that() && generating_assignment_from != &n - && func->parameter_count() < 2 + && func->parameter_count() < 3 ) { prefix += "explicit ";