Skip to content

Commit d658c90

Browse files
committed
fix compile on recent clang versions (at least 20 but maybe 18/19 too)
1 parent 4153ba4 commit d658c90

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/jsoncons/include/jsoncons/json_type_traits.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ class json_array_input_iterator
170170
{
171171
using std::swap;
172172
swap(lhs.it_,rhs.it_);
173-
swap(lhs.empty_,rhs.empty_);
174173
}
175174

176175
private:
@@ -248,7 +247,6 @@ class json_object_input_iterator
248247
{
249248
using std::swap;
250249
swap(lhs.it_,rhs.it_);
251-
swap(lhs.empty_,rhs.empty_);
252250
}
253251

254252
private:

0 commit comments

Comments
 (0)