🚨 fixed some clang-tidy warnings
This commit is contained in:
parent
fa722d5ac3
commit
858e75c4df
29 changed files with 214 additions and 204 deletions
|
|
@ -31,9 +31,11 @@ class json_ref
|
|||
{}
|
||||
|
||||
// class should be movable only
|
||||
json_ref(json_ref&&) = default;
|
||||
json_ref(json_ref&&) noexcept = default;
|
||||
json_ref(const json_ref&) = delete;
|
||||
json_ref& operator=(const json_ref&) = delete;
|
||||
json_ref& operator=(json_ref&&) noexcept = default;
|
||||
~json_ref() = default;
|
||||
|
||||
value_type moved_or_copied() const
|
||||
{
|
||||
|
|
@ -59,5 +61,5 @@ class json_ref
|
|||
value_type* value_ref = nullptr;
|
||||
const bool is_rvalue;
|
||||
};
|
||||
}
|
||||
}
|
||||
} // namespace detail
|
||||
} // namespace nlohmann
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue