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:
parent
459e527647
commit
e0e8157d0b
6 changed files with 195 additions and 216 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue