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 /sandbox/linux | |
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 'sandbox/linux')
-rw-r--r-- | sandbox/linux/seccomp/library.cc | 1 | ||||
-rw-r--r-- | sandbox/linux/seccomp/maps.cc | 1 | ||||
-rw-r--r-- | sandbox/linux/seccomp/sandbox_impl.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/sandbox/linux/seccomp/library.cc b/sandbox/linux/seccomp/library.cc index 68ff974..8dd9b93 100644 --- a/sandbox/linux/seccomp/library.cc +++ b/sandbox/linux/seccomp/library.cc @@ -8,7 +8,6 @@ #include <errno.h> #include <errno.h> #include <fcntl.h> -#include <iostream> #include <linux/unistd.h> #include <set> #include <signal.h> diff --git a/sandbox/linux/seccomp/maps.cc b/sandbox/linux/seccomp/maps.cc index d253c63..8ae218d 100644 --- a/sandbox/linux/seccomp/maps.cc +++ b/sandbox/linux/seccomp/maps.cc @@ -4,7 +4,6 @@ #include <errno.h> #include <fcntl.h> -#include <iostream> #include <linux/unistd.h> #include <signal.h> #include <stdarg.h> diff --git a/sandbox/linux/seccomp/sandbox_impl.h b/sandbox/linux/seccomp/sandbox_impl.h index ce2291c..4fe96cf 100644 --- a/sandbox/linux/seccomp/sandbox_impl.h +++ b/sandbox/linux/seccomp/sandbox_impl.h @@ -34,7 +34,6 @@ ({ typeof(x) i__; while ((i__ = (x)) < 0 && sys.my_errno == EINTR); i__;}) #ifdef __cplusplus -#include <iostream> #include <map> #include <vector> #include "sandbox.h" |