summaryrefslogtreecommitdiffstats
path: root/base/string_piece.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 00:02:29 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 00:02:29 +0000
commit1f88b516c54bf39058785d16dacdb3b0c5262b04 (patch)
tree72ac70255b2b3c8be6260b1e45ae6b98d48ed103 /base/string_piece.cc
parent05100ec8f5b7926f990c6f61b04331fb4be4e99c (diff)
downloadchromium_src-1f88b516c54bf39058785d16dacdb3b0c5262b04.zip
chromium_src-1f88b516c54bf39058785d16dacdb3b0c5262b04.tar.gz
chromium_src-1f88b516c54bf39058785d16dacdb3b0c5262b04.tar.bz2
Base: A few more changes to build base.dll
BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6784002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80104 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_piece.cc')
-rw-r--r--base/string_piece.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/base/string_piece.cc b/base/string_piece.cc
index 3ccb4f0..bf6291c 100644
--- a/base/string_piece.cc
+++ b/base/string_piece.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Copied from strings/stringpiece.cc with modifications
@@ -12,11 +12,6 @@ namespace base {
typedef StringPiece::size_type size_type;
-std::ostream& operator<<(std::ostream& o, const StringPiece& piece) {
- o.write(piece.data(), static_cast<std::streamsize>(piece.size()));
- return o;
-}
-
bool operator==(const StringPiece& x, const StringPiece& y) {
if (x.size() != y.size())
return false;