Index: base/string_piece.h |
diff --git a/base/string_piece.h b/base/string_piece.h |
index 47d49684548f62d99b9ce7af33947e05cba17ec1..5b4bf40e0b59d14ed705097fde52c93c4dd2a47b 100644 |
--- a/base/string_piece.h |
+++ b/base/string_piece.h |
@@ -55,8 +55,14 @@ class StringPiece { |
size_type length() const { return length_; } |
bool empty() const { return length_ == 0; } |
- void clear() { ptr_ = NULL; length_ = 0; } |
- void set(const char* data, size_type len) { ptr_ = data; length_ = len; } |
+ void clear() { |
+ ptr_ = NULL; |
+ length_ = 0; |
+ } |
+ void set(const char* data, size_type len) { |
+ ptr_ = data; |
+ length_ = len; |
+ } |
void set(const char* str) { |
ptr_ = str; |
length_ = str ? strlen(str) : 0; |