Mercurial > octave-nkf
diff src/load-path.cc @ 8007:a2ab20ba78f7
make file_ops a proper singleton class
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 04 Aug 2008 23:44:50 -0400 |
parents | dd5cc5016487 |
children | 4d13a7a2f6ab |
line wrap: on
line diff
--- a/src/load-path.cc Mon Aug 04 22:32:47 2008 -0400 +++ b/src/load-path.cc Mon Aug 04 23:44:50 2008 -0400 @@ -1007,7 +1007,7 @@ { std::string retval; - if (file.find_first_of (file_ops::dir_sep_chars) != NPOS) + if (file.find_first_of (file_ops::dir_sep_chars ()) != NPOS) { if (octave_env::absolute_pathname (file) || octave_env::rooted_relative_pathname (file))