diff --git a/src/json.hpp b/src/json.hpp index bdea958f1..7e490242a 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -1658,8 +1658,8 @@ class basic_json ) { using std::swap; - std::swap(m_type, other.m_type); - std::swap(m_value, other.m_value); + swap(m_type, other.m_type); + swap(m_value, other.m_value); return *this; }