NO CODE CHANGE. Update string_piece.h to new include style, and remove Ben's trailing whitespace. Really just want a buildbot run :\
Review URL: http://codereview.chromium.org/9730 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5075 0039d316-1c4b-4281-b951-d872f2087c98
Esse commit está contido em:
@@ -213,4 +213,3 @@ StringPiece StringPiece::substr(size_type pos, size_type n) const {
|
||||
}
|
||||
|
||||
const StringPiece::size_type StringPiece::npos = size_type(-1);
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
// conversions from "const char*" to "string" and back again.
|
||||
//
|
||||
|
||||
#ifndef BASE_STRING_PIECE_H__
|
||||
#define BASE_STRING_PIECE_H__
|
||||
#ifndef BASE_STRING_PIECE_H_
|
||||
#define BASE_STRING_PIECE_H_
|
||||
|
||||
#include <algorithm>
|
||||
#include <iosfwd>
|
||||
@@ -181,5 +181,4 @@ inline bool operator>=(const StringPiece& x, const StringPiece& y) {
|
||||
// allow StringPiece to be logged (needed for unit testing).
|
||||
extern std::ostream& operator<<(std::ostream& o, const StringPiece& piece);
|
||||
|
||||
#endif // BASE_STRING_PIECE_H__
|
||||
|
||||
#endif // BASE_STRING_PIECE_H_
|
||||
|
||||
@@ -538,4 +538,3 @@ TEST(StringPieceTest, HeterogenousStringPieceEquals) {
|
||||
ASSERT_TRUE(StringPiece("hello") == std::string("hello"));
|
||||
ASSERT_TRUE("hello" == StringPiece("hello"));
|
||||
}
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário