#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

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-03-15
     
  • 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
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks