Mercurial > octave-nkf
diff liboctave/file-ops.h @ 8019:0ef13e15319b
replace NPOS with std::string::npos
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 07 Aug 2008 15:15:33 -0400 |
parents | d936b21b3a6b |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/liboctave/file-ops.h Thu Aug 07 14:53:38 2008 -0400 +++ b/liboctave/file-ops.h Thu Aug 07 15:15:33 2008 -0400 @@ -89,7 +89,7 @@ static bool is_dir_sep (char c) { std::string tmp = dir_sep_chars (); - return tmp.find (c) != NPOS; + return tmp.find (c) != std::string::npos; } static std::string concat (const std::string&, const std::string&);