From fdbea05b16e3c716b5226a1f0d45cc98561500e4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 11 Dec 2017 15:56:55 +0100 Subject: Fix all the warnings shown since previous commit --- src/Buffer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Buffer.h') diff --git a/src/Buffer.h b/src/Buffer.h index 8c5c768..60a7d50 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -43,15 +43,15 @@ class Buffer { protected: /* Current length of the data in the Buffer */ - size_t len; + size_t m_len; /* Allocated size of the Buffer */ - size_t size; + size_t m_size; /* Pointer to the data. Memory allocation is entirely * handled by setLength. */ - void *data; + void *m_data; public: using sptr = std::shared_ptr; @@ -77,7 +77,7 @@ class Buffer { void appendData(const void *data, size_t len); Buffer &operator+=(const Buffer ©); - size_t getLength() const { return len; } - void *getData() const { return data; } + size_t getLength() const { return m_len; } + void *getData() const { return m_data; } }; -- cgit v1.2.3