suppress compiler warns and more cosmetics

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-04-05 20:20:36 +00:00
commit e0e8157d0b
6 changed files with 195 additions and 216 deletions

View file

@ -85,7 +85,8 @@
{
namespace swigpy {
template <class PySeq, class K, class T >
void assign(const PySeq& pyseq, std::map<K,T > *map) {
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();
for (;it != pyseq.end(); ++it) {