Fix compilation error when lambdas are used in assertions

This is a partial revert of b7b346c3e5.
This commit is contained in:
Martin Hořeňovský
2020-03-19 13:32:45 +01:00
parent 08f8a81b2c
commit 5198fd3c9a
12 changed files with 42 additions and 11 deletions

View File

@@ -231,6 +231,9 @@ namespace { namespace CompilationTests {
}
}
TEST_CASE("Lambdas in assertions") {
REQUIRE([]() { return true; }());
}
}} // namespace CompilationTests