mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.1 KiB

  1. --- ./src/positions.h~ 2003-04-07 11:48:19.000000000 +0200
  2. +++ ./src/positions.h 2005-10-23 16:00:30.000000000 +0200
  3. @@ -71,15 +71,15 @@
  4. bool sort ();
  5. /* Creates an iterator, returning the positions in descending order. */
  6. - PositionIterator iterator () const;
  7. + class PositionIterator iterator () const;
  8. /* Creates an iterator, returning the positions in descending order,
  9. that apply to strings of length <= maxlen. */
  10. - PositionIterator iterator (int maxlen) const;
  11. + class PositionIterator iterator (int maxlen) const;
  12. /* Creates an iterator, returning the positions in ascending order. */
  13. - PositionReverseIterator reviterator () const;
  14. + class PositionReverseIterator reviterator () const;
  15. /* Creates an iterator, returning the positions in ascending order,
  16. that apply to strings of length <= maxlen. */
  17. - PositionReverseIterator reviterator (int maxlen) const;
  18. + class PositionReverseIterator reviterator (int maxlen) const;
  19. /* Set operations. Assumes the array is in reverse order. */
  20. bool contains (int pos) const;