Skip to content

Commit 7a2c492

Browse files
authored
Merge pull request #383 from AntelopeIO/jsoncons_fix_main
[4.1 -> main] fix compile on recent clang versions
2 parents 2ae2708 + 7479f2b commit 7a2c492

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)