Description: Fix GCC 15 FTBFS: remove dead swap of non-existent empty_ member in vendored jsoncons iterators
 The vendored jsoncons 0.104.0 json_type_traits.hpp defines friend swap
 functions for json_array_input_iterator and json_object_input_iterator
 which swap(lhs.empty_, rhs.empty_), but the iterator classes have no
 empty_ member. GCC 15 (-Wtemplate-body) reports this as a hard error
 during compilation of src/squelch and the game binary. The dead member
 swap is removed since the iterators only have the it_ member.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: other
Forwarded: not-needed
Last-Update: 2026-09-05

--- tome-2.41-ah~0.git.20200131.orig/vendor/jsoncons-0.104.0/jsoncons/json_type_traits.hpp
+++ tome-2.41-ah~0.git.20200131/vendor/jsoncons-0.104.0/jsoncons/json_type_traits.hpp
@@ -169,7 +169,6 @@ public:
     {
         using std::swap;
         swap(lhs.it_,rhs.it_);
-        swap(lhs.empty_,rhs.empty_);
     }
 
 private:
@@ -247,7 +246,6 @@ public:
     {
         using std::swap;
         swap(lhs.it_,rhs.it_);
-        swap(lhs.empty_,rhs.empty_);
     }
 
 private:

