more fixes for security and warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
45ddc9be7b
commit
03465fd407
10 changed files with 44 additions and 34 deletions
|
|
@ -8,7 +8,8 @@
|
|||
%{
|
||||
namespace swig {
|
||||
template <class PySeq, class T>
|
||||
void assign(const PySeq& pyseq, std::multiset<T>* seq) {
|
||||
static inline void
|
||||
assign(const PySeq& pyseq, std::multiset<T>* seq) {
|
||||
#ifdef SWIG_STD_NOINSERT_TEMPLATE_STL
|
||||
typedef typename PySeq::value_type value_type;
|
||||
typename PySeq::const_iterator it = pyseq.begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue