From 304963834dbe1e9f019a818e0dbf9c63647fa1c4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 16 May 2015 23:17:42 -0700 Subject: 1389 --- 002test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '002test.cc') 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) { -- cgit 1.4.1-2-gfad0