From 59d5cd38e4c61d18eaf2433650aada2d2628a3f6 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 3 Dec 2022 15:21:11 +0100 Subject: [PATCH] :rotating_light: suppress cppcoreguidelines-avoid-do-while --- single_include/nlohmann/json.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 9dd36574b..e11f52968 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -8804,7 +8804,7 @@ scan_number_done: void skip_whitespace() { - do // NOLINT(cppcoreguidelines-avoid-do-while) + do { get(); } @@ -11838,7 +11838,7 @@ class binary_reader */ char_int_type get_ignore_noop() { - do // NOLINT(cppcoreguidelines-avoid-do-while) + do { get(); }