From a0b3e0965aee0be58e3b86d94c8a0718b6692146 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Fri, 9 Jun 2023 11:04:09 +0200 Subject: [PATCH] fixed unqualified swap call --- include/boost/unordered/detail/foa/core.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp index 8768f634..0b985265 100644 --- a/include/boost/unordered/detail/foa/core.hpp +++ b/include/boost/unordered/detail/foa/core.hpp @@ -1310,7 +1310,8 @@ public: table_core{std::move(x.h()),std::move(x.pred()),al_} { if(al()==x.al()){ - std::swap(arrays,x.arrays); + using std::swap; + swap(arrays,x.arrays); swap(size_ctrl,x.size_ctrl); } else{