🚨 fixed some more clang-tidy warnings

This commit is contained in:
Niels Lohmann committed 2018-10-07 19:07:58 +02:00
1 parent 858e75c4df
commit 3abb788139
6 files changed
+102 -122

No files matched your search

+2 -5
View File
@@ -201,12 +201,9 @@ class parser
m_lexer.get_token_string(),
parse_error::create(101, m_lexer.get_position(), exception_message(token_type::value_string)));
}
else
if (JSON_UNLIKELY(not sax->key(m_lexer.get_string())))
{
if (JSON_UNLIKELY(not sax->key(m_lexer.get_string())))
{
return false;
}
return false;
}
// parse separator (:)