From be61ad147000be4802173d0d118fd1b8109b4668 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 11 Nov 2019 21:37:32 +0100 Subject: [PATCH] :art: fix inconsistent operator style --- include/nlohmann/json.hpp | 2 +- single_include/nlohmann/json.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()));