🚑 fixed compilation error

This commit is contained in:
Niels Lohmann 2018-10-08 06:54:51 +02:00
parent 6e49d9f5ff
commit 6d34d64bfd
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
2 changed files with 4 additions and 4 deletions

View file

@ -31,10 +31,10 @@ class json_ref
{} {}
// class should be movable only // class should be movable only
json_ref(json_ref&&) noexcept = default; json_ref(json_ref&&) = default;
json_ref(const json_ref&) = delete; json_ref(const json_ref&) = delete;
json_ref& operator=(const json_ref&) = delete; json_ref& operator=(const json_ref&) = delete;
json_ref& operator=(json_ref&&) noexcept = default; json_ref& operator=(json_ref&&) = delete;
~json_ref() = default; ~json_ref() = default;
value_type moved_or_copied() const value_type moved_or_copied() const

View file

@ -10375,10 +10375,10 @@ class json_ref
{} {}
// class should be movable only // class should be movable only
json_ref(json_ref&&) noexcept = default; json_ref(json_ref&&) = default;
json_ref(const json_ref&) = delete; json_ref(const json_ref&) = delete;
json_ref& operator=(const json_ref&) = delete; json_ref& operator=(const json_ref&) = delete;
json_ref& operator=(json_ref&&) noexcept = default; json_ref& operator=(json_ref&&) = delete;
~json_ref() = default; ~json_ref() = default;
value_type moved_or_copied() const value_type moved_or_copied() const