Skip to content

Commit

Permalink
C++11 fix: constexpr lamdbas not supported until C++17
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 315365040
  • Loading branch information
fangism authored and hzeller committed Jun 8, 2020
1 parent b680adc commit bdbc19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/formatting/align_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ TEST_F(Sparse3x3MatrixAlignmentTest, IgnoreCommentLine) {
partition_.Children()[1].Value().SetIndentationSpaces(1);

// Pretend lines that begin with "three" are to be ignored, like comments.
constexpr auto ignore_threes = [](const TokenPartitionTree& partition) {
auto ignore_threes = [](const TokenPartitionTree& partition) {
return partition.Value().TokensRange().front().Text() == "three";
};

Expand Down

0 comments on commit bdbc19b

Please sign in to comment.