about summary refs log tree commit diff stats
path: root/002test.cc
diff options
context:
space:
mode:
Diffstat (limited to '002test.cc')
-rw-r--r--002test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/002test.cc b/002test.cc
index 99ef38b1..81bcba6d 100644
--- a/002test.cc
+++ b/002test.cc
@@ -81,7 +81,7 @@ void run_test(index_t i) {
 }
 
 bool is_integer(const string& s) {
-  return s.find_first_not_of("0123456789-") == string::npos;
+  return s.find_first_not_of("0123456789-") == NOT_FOUND;
 }
 
 long long int to_integer(string n) {