diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index a0a0f4c17..5d07b8f93 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -1017,7 +1017,7 @@ class basic_json } } - while (!stack.empty()) + while (not stack.empty()) { // move the last item to local variable to be processed basic_json current_item(std::move(stack.back())); diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 443459f0c..726a96322 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -15560,7 +15560,7 @@ class basic_json } } - while (!stack.empty()) + while (not stack.empty()) { // move the last item to local variable to be processed basic_json current_item(std::move(stack.back()));