diff liboctave/dir-ops.cc @ 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/dir-ops.cc
+++ b/liboctave/dir-ops.cc
@@ -36,7 +36,7 @@
 #include "str-vec.h"
 
 bool
-dir_entry::open (const string& n)
+dir_entry::open (const std::string& n)
 {
   fail = true;
 
@@ -52,7 +52,10 @@
       if (dir)
 	fail = false;
       else
-	errmsg = strerror (errno);
+	{
+	  using namespace std;
+	  errmsg = strerror (errno);
+	}
     }
   else
     errmsg = "dir_entry::open: empty file name";