From 6b8fe5ad511d6432d1dd4e68536a8f28270359b3 Mon Sep 17 00:00:00 2001 From: Colin Hirsch Date: Sat, 29 Aug 2015 11:40:47 +0200 Subject: [PATCH] Fix small oversight. --- src/json.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }