Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#258 the bug of std_map in C# wrapper

closed-accepted
None
5
2011-03-15
2011-03-15
Anonymous
No

below is the modify:

const key_type& get_next_key(std::map< K, T >::iterator *swigiterator) {
std::map< K, T >::iterator iter = *swigiterator;
- swigiterator++;
+ (*swigiterator)++;
return (*iter).first;
}

Attached file is the patch file.

Discussion

  • William Fulton
    William Fulton
    2011-03-15

    Thanks. Applied to trunk for swig-2.0.3.

     
  • William Fulton
    William Fulton
    2011-03-15

    • assigned_to: nobody --> wsfulton
    • status: open --> closed-accepted