diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2023-04-06 13:08:47 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2023-04-26 18:18:15 +0100 |
commit | 08aee96cbd1de0c842b29776be8c24e9f742ef2d (patch) | |
tree | 00602cf6b84830b761a3ff387a6208512d5e3203 /Lib/python/std_multimap.i | |
parent | d5291a77e18dbc5342803f1d80bc55c6333f1271 (diff) | |
download | swig-08aee96cbd1de0c842b29776be8c24e9f742ef2d.tar.gz |
Remove assign method uses by the removed Python Sequence Protocol
Diffstat (limited to 'Lib/python/std_multimap.i')
-rw-r--r-- | Lib/python/std_multimap.i | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/python/std_multimap.i b/Lib/python/std_multimap.i index bbffb6bcd..75b4d7fcf 100644 --- a/Lib/python/std_multimap.i +++ b/Lib/python/std_multimap.i @@ -6,16 +6,6 @@ %fragment("StdMultimapTraits","header",fragment="StdMapCommonTraits") { namespace swig { - template <class SwigPySeq, class K, class T > - inline void - assign(const SwigPySeq& swigpyseq, std::multimap<K,T > *multimap) { - typedef typename std::multimap<K,T>::value_type value_type; - typename SwigPySeq::const_iterator it = swigpyseq.begin(); - for (;it != swigpyseq.end(); ++it) { - multimap->insert(value_type(it->first, it->second)); - } - } - template <class K, class T> struct traits_asptr<std::multimap<K,T> > { typedef std::multimap<K,T> multimap_type; |