Merge pull request #121 from ColinH/master

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

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