aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-objcp-common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cp-objcp-common.cc')
-rw-r--r--gcc/cp/cp-objcp-common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-objcp-common.cc b/gcc/cp/cp-objcp-common.cc
index 70f9e4a..9439c4d 100644
--- a/gcc/cp/cp-objcp-common.cc
+++ b/gcc/cp/cp-objcp-common.cc
@@ -145,7 +145,7 @@ static constexpr cp_feature_info cp_feature_table[] =
{ "cxx_contextual_conversions", { cxx14, cxx98 } },
{ "cxx_decltype_auto", cxx14 },
{ "cxx_aggregate_nsdmi", cxx14 },
- { "cxx_init_captures", cxx14 },
+ { "cxx_init_captures", { cxx14, cxx11 } },
{ "cxx_generic_lambdas", cxx14 },
{ "cxx_relaxed_constexpr", cxx14 },
{ "cxx_return_type_deduction", cxx14 },