diff options
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index ded0a03..435fa71 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -4349,7 +4349,7 @@ type_has_constexpr_default_constructor (tree t) return false; if (CLASSTYPE_LAZY_DEFAULT_CTOR (t)) return synthesized_default_constructor_is_constexpr (t); - fns = get_default_ctor (t); + fns = locate_ctor (t); return (fns && DECL_DECLARED_CONSTEXPR_P (fns)); } |