mirror of
https://github.com/nlohmann/json.git
synced 2026-10-08 15:37:13 +00:00
🚨 fixed some clang-tidy warnings
This commit is contained in:
29 files changed
+214
-204
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user