diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-05-16 23:17:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-05-16 23:17:42 -0700 |
commit | 304963834dbe1e9f019a818e0dbf9c63647fa1c4 (patch) | |
tree | 6a8ef654b42a73afbfb8bf9dcfab0bb5fd60a3b3 /002test.cc | |
parent | 65ccad4c6e50ea4298f8e661a8cf79174e970d73 (diff) | |
download | mu-304963834dbe1e9f019a818e0dbf9c63647fa1c4.tar.gz |
1389
Diffstat (limited to '002test.cc')
-rw-r--r-- | 002test.cc | 2 |
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) { |