1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

Merge pull request #121 from ColinH/master

Fix small oversight.
This commit is contained in:
Niels
2015-10-03 10:39:14 +02:00

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