Skip to content

Commit

Permalink
🚑 fixed compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed Oct 8, 2018
1 parent 6e49d9f commit 6d34d64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/nlohmann/detail/json_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class json_ref
{}

// class should be movable only
json_ref(json_ref&&) noexcept = default;
json_ref(json_ref&&) = default;
json_ref(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;

value_type moved_or_copied() const
Expand Down
4 changes: 2 additions & 2 deletions single_include/nlohmann/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10375,10 +10375,10 @@ class json_ref
{}

// class should be movable only
json_ref(json_ref&&) noexcept = default;
json_ref(json_ref&&) = default;
json_ref(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;

value_type moved_or_copied() const
Expand Down

0 comments on commit 6d34d64

Please sign in to comment.