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

Close

#400 Two small errors

closed
Don HO
None
7
2012-08-22
2012-07-13
Andreas Jonsson
No

The attached patch fixes two errors. One is a simple typing fault where the logical OR operator is used instead of AND. The other error involves calling swap() on a std::pair<int,int> with the pair itself as argument. This has no effect and is equivalent to saying "range.first = range.first; range.second = range.second;", see http://en.cppreference.com/w/cpp/utility/pair/swap .

Discussion

  •  
    Attachments
  • Don HO
    Don HO
    2012-07-21

    • assigned_to: nobody --> donho
    • priority: 5 --> 7
     
  • Don HO
    Don HO
    2012-08-22

    • status: open --> closed