Skip to content

Commit c30da2f

Browse files
update --latest condition
1 parent 46e26ae commit c30da2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ function parseCppStandard(std: string, canUseGnu: boolean, canUseCxx23: boolean)
15411541
} else {
15421542
return isGnu ? 'gnu++20' : 'c++20';
15431543
}
1544-
} else if (std.endsWith('++2a') || std.endsWith('++20') || std.endsWith('++latest')) {
1544+
} else if (std.endsWith('++2a') || std.endsWith('++20')) {
15451545
return isGnu ? 'gnu++20' : 'c++20';
15461546
} else if (std.endsWith('++17') || std.endsWith('++1z')) {
15471547
return isGnu ? 'gnu++17' : 'c++17';

0 commit comments

Comments
 (0)