commit | deb48dadd9087b689e23e4af4ad91afeea0d33b0 | [log] [tgz] |
---|---|---|
author | Tom Sepez <tsepez@chromium.org> | Fri Dec 10 02:20:37 2021 +0000 |
committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 10 02:20:37 2021 +0000 |
tree | fd8ad3d8d9419c6c265cd038e48b36124261feef | |
parent | c2edf29b4274469b247372983bb85530009a8d32 [diff] |
Use <iosfwd> in BigIntegerUtils.hh Only BigIntegerUtils.cc needs to know the implementation details of streams. Change-Id: I25aeeecdde92436e650b86fe1c4e31c47784ef14 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/87850 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/third_party/bigint/BigIntegerUtils.cc b/third_party/bigint/BigIntegerUtils.cc index f48334d..eba218d 100644 --- a/third_party/bigint/BigIntegerUtils.cc +++ b/third_party/bigint/BigIntegerUtils.cc
@@ -4,6 +4,8 @@ // Original code by Matt McCutchen, see the LICENSE file. +#include <ostream> + #include "BigIntegerUtils.hh" #include "BigUnsignedInABase.hh"
diff --git a/third_party/bigint/BigIntegerUtils.hh b/third_party/bigint/BigIntegerUtils.hh index 999cdd2..7da7e9f 100644 --- a/third_party/bigint/BigIntegerUtils.hh +++ b/third_party/bigint/BigIntegerUtils.hh
@@ -9,7 +9,7 @@ #include "BigInteger.hh" #include <string> -#include <ostream> +#include <iosfwd> /* This file provides: * - Convenient std::string <-> BigUnsigned/BigInteger conversion routines