void-packages/srcpkgs/frozen/patches/no-constexpr.patch

13 lines
381 B
Diff

--- a/tests/test_unordered_set.cpp
+++ b/tests/test_unordered_set.cpp
@@ -65,8 +65,8 @@ TEST_CASE("tripleton str frozen unordere
constexpr auto max_size = ze_set.max_size();
REQUIRE(max_size == 3);
- constexpr auto nocount = ze_set.count(4);
+ auto nocount = ze_set.count(4);
REQUIRE(nocount == 0);
constexpr auto count = ze_set.count(1);
REQUIRE(count == 1);