diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp index 832c36ddf..058afd387 100644 --- a/include/nlohmann/detail/input/binary_reader.hpp +++ b/include/nlohmann/detail/input/binary_reader.hpp @@ -2760,7 +2760,7 @@ class binary_reader */ char_int_type get_ignore_noop() { - do + do // NOLINT(cppcoreguidelines-avoid-do-while) { get(); } diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index e11f52968..5960d28ce 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -11838,7 +11838,7 @@ class binary_reader */ char_int_type get_ignore_noop() { - do + do // NOLINT(cppcoreguidelines-avoid-do-while) { get(); }