diff options
author | John Abd-El-Malek <jam@chromium.org> | 2014-12-12 17:47:56 -0800 |
---|---|---|
committer | John Abd-El-Malek <jam@chromium.org> | 2014-12-12 17:47:56 -0800 |
commit | f6505100fc132ef866adaf3ff1fb7f06d0ca7a9b (patch) | |
tree | 73497690daaf5c7f810a4c2a8fa1047c59f738a0 /third_party/bigint/BigIntegerUtils.cc | |
parent | 217ecf3b39f8d5c01260684848a8886c8ed2bf89 (diff) | |
download | pdfium-f6505100fc132ef866adaf3ff1fb7f06d0ca7a9b.tar.xz |
Fix build after previous commit.chromium/2255chromium/2254chromium/2253chromium/2252chromium/2251
TBR=tsepez
Review URL: https://codereview.chromium.org/804463003
Diffstat (limited to 'third_party/bigint/BigIntegerUtils.cc')
-rw-r--r-- | third_party/bigint/BigIntegerUtils.cc | 5 |
1 files changed, 1 insertions, 4 deletions
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; |