Mercurial > hg > octave-nkf
diff liboctave/glob-match.h @ 3504:5eef8a2294bd
[project @ 2000-02-01 10:06:51 by jwe]
author | jwe |
---|---|
date | Tue, 01 Feb 2000 10:07:26 +0000 |
parents | 66ef74ee5d9f |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/liboctave/glob-match.h +++ b/liboctave/glob-match.h @@ -40,7 +40,7 @@ period = 4 // Leading `.' is matched only explicitly. }; - glob_match (const string& p = string (), + glob_match (const std::string& p = std::string (), unsigned int f = pathname|noescape|period) : pat (p), flags (f) { } @@ -62,11 +62,11 @@ ~glob_match (void) { } - void set_pattern (const string& p) { pat = p; } + void set_pattern (const std::string& p) { pat = p; } void set_pattern (const string_vector& p) { pat = p; } - bool match (const string&); + bool match (const std::string&); Array<bool> match (const string_vector&);