Ignore:
Timestamp:
Sep 23, 2007, 12:05:41 AM (15 years ago)
Author:
Peter
Message:

fixing problems with iterator -> const_iterator conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/iterator_test.cc

    r882 r883  
    5151  utility::vector::const_iterator ci = vec.begin();
    5252  ci = begin;
    53   //if (begin!=ci)
    54   //ok = false;
    55 
     53  if (begin!=ci)
     54    ok = false;
     55 
    5656  utility::vector::iterator end=vec.end();
    5757  std::sort(begin, end);
     
    6565  if (!ok)
    6666    *message << "iterator test failed" << std::endl;
    67 
     67 
    6868  return (ok ? 0 : -1);
    6969}
Note: See TracChangeset for help on using the changeset viewer.