From 2f048ea6aca3b94de9e4711d81925927c79f5606 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Wed, 19 Oct 2022 17:50:21 +0200 Subject: [PATCH] s/=/== --- include/boost/unordered/detail/foa.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa.hpp b/include/boost/unordered/detail/foa.hpp index 6c9e8f69..9dae609f 100644 --- a/include/boost/unordered/detail/foa.hpp +++ b/include/boost/unordered/detail/foa.hpp @@ -1679,7 +1679,7 @@ private: BOOST_CATCH_END /* either all moved and destroyed or all copied */ - BOOST_ASSERT(num_destroyed=size()||num_destroyed==0); + BOOST_ASSERT(num_destroyed==size()||num_destroyed==0); if(num_destroyed!=size()){ for_all_elements([this](value_type* p){ destroy_element(p);