From 776935f24dde283f278db6f4288a332f96905951 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Wed, 19 Oct 2022 11:04:38 -0700 Subject: [PATCH] Reintroduce strong guarantee checking --- test/helpers/strong.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/helpers/strong.hpp b/test/helpers/strong.hpp index 26dd2ce3..3c936133 100644 --- a/test/helpers/strong.hpp +++ b/test/helpers/strong.hpp @@ -30,15 +30,11 @@ namespace test { void test(X const& x, unsigned int allocations = 0) const { - (void) x; - (void) allocations; -#ifndef BOOST_UNORDERED_FOA_TESTS if (!(x.size() == values_.size() && test::equal(x.cbegin(), x.cend(), values_.begin(), test::equivalent))) BOOST_ERROR("Strong exception safety failure."); if (allocations != allocations_) BOOST_ERROR("Strong exception failure: extra allocations."); -#endif } }; }