Mercurial > hg > octave-terminal
changeset 5787:beb5b95de2c0
[project @ 2006-05-04 01:18:34 by jwe]
author | jwe |
---|---|
date | Thu, 04 May 2006 01:18:34 +0000 |
parents | 9c3c903f037e |
children | c3e8552402ab |
files | src/DLD-FUNCTIONS/regexp.cc |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/regexp.cc +++ b/src/DLD-FUNCTIONS/regexp.cc @@ -59,9 +59,9 @@ class regexp_elem { public: - regexp_elem (const string_vector _named_token, const Cell _t, - const std::string _m, const Matrix _te, const double _s, - const double _e) : + regexp_elem (const string_vector& _named_token, const Cell& _t, + const std::string& _m, const Matrix& _te, double _s, + double _e) : named_token (_named_token), t (_t), m (_m), te (_te), s (_s), e (_e) { } regexp_elem (const regexp_elem &a) : named_token (a.named_token), t (a.t), @@ -426,7 +426,7 @@ idx += match[0].rm_eo; - regexp_elem new_elem (Octave_map(), t, m, te, s, e); + regexp_elem new_elem (string_vector (), t, m, te, s, e); lst.push_back (new_elem); sz++;