1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-13 20:21:48 +03:00

Fix small oversight.

This commit is contained in:
Colin Hirsch
2015-09-20 15:04:51 +02:00
parent 0a81353989
commit c6c37d00d1

View File

@ -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;
}