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-23 12:54:06 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-23 12:54:06 -0700
commit40be252286bc89b4930049b9ab2cbac1f54a9357 (patch)
tree4bf1c75c5065f5abd24e1f136733c116583d3bc8 /002test.cc
parent7002b26a64b0ec5ce5a6002eb94da8dd8303e8b1 (diff)
downloadmu-40be252286bc89b4930049b9ab2cbac1f54a9357.tar.gz
1437
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 ea75db82..159932d6 100644
--- a/002test.cc
+++ b/002test.cc
@@ -88,7 +88,7 @@ long long int to_integer(string n) {
   char* end = NULL;
   // safe because string.c_str() is guaranteed to be null-terminated
   long long int result = strtoll(n.c_str(), &end, /*any base*/0);
-  if (*end != '\0') raise << "tried to convert " << n << " to number\n";
+  if (*end != '\0') cerr << "tried to convert " << n << " to number\n";
   assert(*end == '\0');
   return result;
 }