Mercurial > octave
diff liboctave/str-vec.cc @ 8671:d7128ae51e44
undo changeset 4238f2600a17
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 04 Feb 2009 15:53:24 -0500 |
parents | 4238f2600a17 |
children | e2b4c19c455c |
line wrap: on
line diff
--- a/liboctave/str-vec.cc Wed Feb 04 14:45:40 2009 -0500 +++ b/liboctave/str-vec.cc Wed Feb 04 15:53:24 2009 -0500 @@ -84,18 +84,6 @@ } string_vector& -string_vector::sort (bool make_uniq) -{ - // Don't use Array<std::string>::sort () to allow sorting in place. - octave_sort<std::string> lsort; - lsort.sort (Array<std::string>::fortran_vec (), length ()); - - if (make_uniq) - uniq (); - - return *this; -} -string_vector& string_vector::uniq (void) { octave_idx_type len = length ();