diff src/Cell.cc @ 8021:85184151822e

fix typo in NPOS change
author John W. Eaton <jwe@octave.org>
date Thu, 07 Aug 2008 15:31:17 -0400
parents 0ef13e15319b
children 977d5204cf67
line wrap: on
line diff
--- a/src/Cell.cc
+++ b/src/Cell.cc
@@ -47,7 +47,7 @@
 	    {
 	      size_t pos = s.find_last_not_of (' ');
 
-	      s = (pos == std::string:npos) ? "" : s.substr (0, pos+1);
+	      s = (pos == std::string::npos) ? "" : s.substr (0, pos+1);
 	    }
 
 	  elem(i,0) = s;
@@ -77,7 +77,7 @@
 	    {
 	      size_t pos = s.find_last_not_of (' ');
 
-	      s = (pos == std::string:npos) ? "" : s.substr (0, pos+1);
+	      s = (pos == std::string::npos) ? "" : s.substr (0, pos+1);
 	    }
 
 	  elem(i) = s;