diff src/symtab.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 5bf4e2c13ed8
children 0ef13e15319b
line wrap: on
line diff
--- a/src/symtab.cc
+++ b/src/symtab.cc
@@ -708,7 +708,7 @@
 
       if (! file_name.empty ())
 	{
-	  size_t pos = file_name.find_last_of (file_ops::dir_sep_chars);
+	  size_t pos = file_name.find_last_of (file_ops::dir_sep_chars ());
 
 	  std::string dir_name = file_name.substr (0, pos);