diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 20:08:23 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-20 20:08:23 +0000 |
commit | f3b1afd587e13f4d67288806ed4f07fc8a14ed5f (patch) | |
tree | b5f2071627e5825bf3e12cb7284051cc33767e7a /base/string_piece.cc | |
parent | e52162ef0805fa045fb4e7be19d0ed49a0258173 (diff) | |
download | chromium_src-f3b1afd587e13f4d67288806ed4f07fc8a14ed5f.zip chromium_src-f3b1afd587e13f4d67288806ed4f07fc8a14ed5f.tar.gz chromium_src-f3b1afd587e13f4d67288806ed4f07fc8a14ed5f.tar.bz2 |
Remove <iostream> where possible.
<iostream> creates a static initializer. Most people don't need <iostream>
anyway--they really need <ostream> for operator<< overloads. <iostream>
should *never* be included in a header file; <iosfwd> exists for that purpose.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3014015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_piece.cc')
-rw-r--r-- | base/string_piece.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/string_piece.cc b/base/string_piece.cc index 6844892..082e3c2 100644 --- a/base/string_piece.cc +++ b/base/string_piece.cc @@ -4,7 +4,7 @@ // Copied from strings/stringpiece.cc with modifications #include <algorithm> -#include <iostream> +#include <ostream> #include "base/string_piece.h" |