Mercurial > hg > octave-lyh
diff liboctave/str-vec.h @ 8678:e2b4c19c455c
redo changeset 4238f2600a17 with fixes to sorting
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 04 Feb 2009 16:05:01 +0100 |
parents | d7128ae51e44 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/liboctave/str-vec.h +++ b/liboctave/str-vec.h @@ -84,15 +84,7 @@ std::string operator[] (octave_idx_type i) const { return Array<std::string>::elem (i); } - string_vector& sort (bool make_uniq = false) - { - Array<std::string>::sort (); - - if (make_uniq) - uniq (); - - return *this; - } + string_vector& sort (bool make_uniq = false); string_vector& uniq (void);