From f6505100fc132ef866adaf3ff1fb7f06d0ca7a9b Mon Sep 17 00:00:00 2001 From: John Abd-El-Malek Date: Fri, 12 Dec 2014 17:47:56 -0800 Subject: Fix build after previous commit. TBR=tsepez Review URL: https://codereview.chromium.org/804463003 --- third_party/bigint/BigIntegerUtils.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'third_party/bigint/BigIntegerUtils.cc') diff --git a/third_party/bigint/BigIntegerUtils.cc b/third_party/bigint/BigIntegerUtils.cc index fac8ac34b1..f48334d961 100644 --- a/third_party/bigint/BigIntegerUtils.cc +++ b/third_party/bigint/BigIntegerUtils.cc @@ -42,11 +42,8 @@ std::ostream &operator <<(std::ostream &os, const BigUnsigned &x) { if (osFlags & os.showbase) os << '0'; } else -#ifdef FOXIT_CHROME_BUILD abort(); -#else - throw "std::ostream << BigUnsigned: Could not determine the desired base from output-stream flags"; -#endif + std::string s = std::string(BigUnsignedInABase(x, base)); os << s; return os; -- cgit v1.2.3