From d658c90b6dec7614fb57458c55bdbff28ef1425e Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Wed, 30 Jul 2025 23:02:57 -0400 Subject: [PATCH] fix compile on recent clang versions (at least 20 but maybe 18/19 too) --- tools/jsoncons/include/jsoncons/json_type_traits.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/jsoncons/include/jsoncons/json_type_traits.hpp b/tools/jsoncons/include/jsoncons/json_type_traits.hpp index 058cf017e1..2c32215601 100644 --- a/tools/jsoncons/include/jsoncons/json_type_traits.hpp +++ b/tools/jsoncons/include/jsoncons/json_type_traits.hpp @@ -170,7 +170,6 @@ class json_array_input_iterator { using std::swap; swap(lhs.it_,rhs.it_); - swap(lhs.empty_,rhs.empty_); } private: @@ -248,7 +247,6 @@ class json_object_input_iterator { using std::swap; swap(lhs.it_,rhs.it_); - swap(lhs.empty_,rhs.empty_); } private: