Unverified Commit bd2be80b authored by Frank's avatar Frank Committed by GitHub

cbuf: allow inheritance (#5883)

changes "private" vars to "protected" so that descendants are allowed to access them.
parent 6f1f3946
......@@ -62,7 +62,7 @@ public:
cbuf *next;
private:
protected:
inline char* wrap_if_bufend(char* ptr) const
{
return (ptr == _bufend) ? _buf : ptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment