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

♻️ replace further alternative operators

This commit is contained in:
Niels Lohmann
2020-07-11 13:51:25 +02:00
parent b2240f7508
commit 889f269a6c
3 changed files with 10 additions and 10 deletions

View File

@ -5883,9 +5883,9 @@ class basic_json
@since version 1.0.0
*/
friend void swap(reference left, reference right) noexcept (
std::is_nothrow_move_constructible<value_t>::value and
std::is_nothrow_move_assignable<value_t>::value and
std::is_nothrow_move_constructible<json_value>::value and
std::is_nothrow_move_constructible<value_t>::value&&
std::is_nothrow_move_assignable<value_t>::value&&
std::is_nothrow_move_constructible<json_value>::value&&
std::is_nothrow_move_assignable<json_value>::value
)
{