mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-15 15:16:47 +02:00
Fix clang-tidy warnings (#1231)
* Fix clang-tidy warnings Signed-off-by: Marcel Opprecht <marcel.opprecht@scandit.com> * Fixup/clang-format Co-authored-by: Marcel Opprecht <marcel.opprecht@scandit.com> Co-authored-by: Jordan Bayles <jophba@chromium.org>
This commit is contained in:
@@ -1921,7 +1921,7 @@ bool CharReaderBuilder::validate(Json::Value* invalid) const {
|
||||
if (valid_keys.count(key))
|
||||
continue;
|
||||
if (invalid)
|
||||
(*invalid)[std::move(key)] = *si;
|
||||
(*invalid)[key] = *si;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user