Mercurial > hg > octave-nkf
changeset 5768:412f72146ab5
[project @ 2006-04-18 15:52:46 by jwe]
author | jwe |
---|---|
date | Tue, 18 Apr 2006 15:52:46 +0000 |
parents | 26f92fb8ba33 |
children | 2b9a5ce46678 |
files | src/ChangeLog src/help.cc |
diffstat | 2 files changed, 11 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2006-04-18 John W. Eaton <jwe@octave.org> + + * help.cc (Flookfor): Add std qualifier to transform function. + 2006-04-16 John W. Eaton <jwe@octave.org> * pager.h (octave_diary_buf, octave_pager_buf): Use std:stringbuf
--- a/src/help.cc +++ b/src/help.cc @@ -1207,7 +1207,7 @@ // Make a lower case copy to simplify some tests std::string lower = line; - transform (lower.begin (), lower.end (), lower.begin (), tolower); + std::transform (lower.begin (), lower.end (), lower.begin (), tolower); // Skip lines starting in "-" or "Usage" if (lower.find_first_of ('-') == 0 @@ -1546,7 +1546,7 @@ if (!error_state) { // All tests in lower case - transform (txt.begin (), txt.end (), txt.begin (), tolower); + std::transform (txt.begin (), txt.end (), txt.begin (), tolower); help_list *ptr = keyword_help (); while (ptr->name) @@ -1573,7 +1573,7 @@ else s = h; - transform (s.begin (), s.end (), s.begin (), tolower); + std::transform (s.begin (), s.end (), s.begin (), tolower); if (s.length () > 0 && s.find (txt) != NPOS) { @@ -1616,7 +1616,7 @@ else s = h; - transform (s.begin (), s.end (), s.begin (), tolower); + std::transform (s.begin (), s.end (), s.begin (), tolower); if (s.length () > 0 && s.find (txt) != NPOS) { @@ -1670,7 +1670,7 @@ else s = h; - transform (s.begin (), s.end (), s.begin (), tolower); + std::transform (s.begin (), s.end (), s.begin (), tolower); if (s.length () > 0 && s.find (txt) != NPOS) { @@ -1758,7 +1758,7 @@ else s = h; - transform (s.begin (), s.end (), s.begin (), tolower); + std::transform (s.begin (), s.end (), s.begin (), tolower); if (s.length () > 0 && s.find (txt) != NPOS) { @@ -1814,7 +1814,7 @@ else s = h; - transform (s.begin (), s.end (), s.begin (), + std::transform (s.begin (), s.end (), s.begin (), tolower); if (s.length () > 0 && s.find (txt) != NPOS)