fixed tests for copy assignment

This commit is contained in:
Niels committed 2015-02-10 17:40:47 +01:00
1 parent d760ff5142
commit 29a8d43d5a
3 files changed
+14 -9

No files matched your search

-1
View File
@@ -445,7 +445,6 @@ class basic_json
/// copy assignment
inline reference& operator=(basic_json other) noexcept
{
assert(false); // not sure if function will ever be called
std::swap(m_type, other.m_type);
std::swap(m_value, other.m_value);
return *this;
-1
View File
@@ -445,7 +445,6 @@ class basic_json
/// copy assignment
inline reference& operator=(basic_json other) noexcept
{
assert(false); // not sure if function will ever be called
std::swap(m_type, other.m_type);
std::swap(m_value, other.m_value);
return *this;