about summary refs log tree commit diff stats
path: root/002test.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-16 23:17:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-16 23:17:42 -0700
commit304963834dbe1e9f019a818e0dbf9c63647fa1c4 (patch)
tree6a8ef654b42a73afbfb8bf9dcfab0bb5fd60a3b3 /002test.cc
parent65ccad4c6e50ea4298f8e661a8cf79174e970d73 (diff)
downloadmu-304963834dbe1e9f019a818e0dbf9c63647fa1c4.tar.gz
1389
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) {