diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index a0a0f4c1..5d07b8f9 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 443459f0..726a9632 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()));