summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index c4d402efd0a..61c3ac0c540 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -24731,7 +24731,7 @@ make_constrained_auto (tree con, tree args)
static tree
listify (tree arg)
{
- tree std_init_list = namespace_binding (init_list_identifier, std_node);
+ tree std_init_list = get_namespace_value (std_node, init_list_identifier);
tree argvec;
if (!std_init_list || !DECL_CLASS_TEMPLATE_P (std_init_list))
{