diff src/input.cc @ 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 f46e73bcb85b
children 85184151822e
line wrap: on
line diff
--- a/src/input.cc	Thu Aug 07 14:53:38 2008 -0400
+++ b/src/input.cc	Thu Aug 07 15:15:33 2008 -0400
@@ -272,7 +272,8 @@
 
       // There is no need to update the load_path cache if there is no
       // user input.
-      if (! retval.empty () && retval.find_first_not_of (" \t\n\r") != NPOS)
+      if (! retval.empty ()
+	  && retval.find_first_not_of (" \t\n\r") != std::string:npos)
 	load_path::update ();
     }
   else