more fixes for security and warnings

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-02-26 20:25:10 +00:00
commit 5b74ab97a7
10 changed files with 44 additions and 34 deletions

View file

@ -6,7 +6,7 @@
{
namespace swig {
template <class PySeq, class K, class T >
inline void
static inline void
assign(const PySeq& pyseq, std::map<K,T > *map) {
typedef typename std::map<K,T>::value_type value_type;
typename PySeq::const_iterator it = pyseq.begin();