More coding guidelines name changes, and use "using".

Change-Id: I48a898d13623749a55c469ba558155cd1467b4ce
This commit is contained in:
Peter Johnson
2015-06-25 23:25:29 -07:00
parent de4ba1aa35
commit 95d0736bb6
4 changed files with 14 additions and 24 deletions

View File

@@ -21,11 +21,11 @@ class WireDecoder {
explicit WireDecoder(raw_istream& is, unsigned int proto_rev);
~WireDecoder();
void SetProtocolRev(unsigned int proto_rev) { m_proto_rev = proto_rev; }
void set_proto_rev(unsigned int proto_rev) { m_proto_rev = proto_rev; }
void Reset() { m_error = nullptr; }
const char* GetError() const { return m_error; }
const char* error() const { return m_error; }
bool Read(char** buf, std::size_t len) {
if (len > m_allocated) Realloc(len);