diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 3d90891..332f4bf 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -10769,7 +10769,7 @@ cp_parser_lambda_introducer (cp_parser* parser, tree lambda_expr) Optimize for the zero or one explicit captures cases and only create the hash_set after adding second capture. */ bool found = false; - if (ids.elements ()) + if (!ids.is_empty ()) found = ids.add (capture_id); else if (first_capture_id == NULL_TREE) first_capture_id = capture_id; |