| Index: net/tools/balsa/simple_buffer.h
|
| diff --git a/net/tools/balsa/simple_buffer.h b/net/tools/balsa/simple_buffer.h
|
| index a550617824027aa8b8db5e1a363d02665f42c0b3..3218ee7597ebc81dbaaf404c70bdf8ccf98ec5d9 100644
|
| --- a/net/tools/balsa/simple_buffer.h
|
| +++ b/net/tools/balsa/simple_buffer.h
|
| @@ -20,8 +20,8 @@ class SimpleBuffer : public BufferInterface {
|
|
|
| std::string str() const;
|
|
|
| - typedef char * iterator;
|
| - typedef const char * const_iterator;
|
| + typedef char* iterator;
|
| + typedef const char* const_iterator;
|
|
|
| iterator begin() { return storage_ + read_idx_; }
|
| const_iterator begin() const { return storage_ + read_idx_; }
|
| @@ -41,9 +41,9 @@ class SimpleBuffer : public BufferInterface {
|
|
|
| virtual int Write(const char* bytes, int size) OVERRIDE;
|
|
|
| - virtual void GetWritablePtr(char **ptr, int* size) const OVERRIDE;
|
| + virtual void GetWritablePtr(char** ptr, int* size) const OVERRIDE;
|
|
|
| - virtual void GetReadablePtr(char **ptr, int* size) const OVERRIDE;
|
| + virtual void GetReadablePtr(char** ptr, int* size) const OVERRIDE;
|
|
|
| virtual int Read(char* bytes, int size) OVERRIDE;
|
|
|
| @@ -84,7 +84,7 @@ class SimpleBuffer : public BufferInterface {
|
| int storage_size_;
|
|
|
| private:
|
| - //DISALLOW_COPY_AND_ASSIGN(SimpleBuffer);
|
| + // DISALLOW_COPY_AND_ASSIGN(SimpleBuffer);
|
| };
|
|
|
| } // namespace net
|
|
|