diff options
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; |