From 40be252286bc89b4930049b9ab2cbac1f54a9357 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 23 May 2015 12:54:06 -0700 Subject: 1437 --- 002test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '002test.cc') 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; } -- cgit 1.4.1-2-gfad0