未验证 提交 bd2be80b 编写于 作者: F Frank 提交者: GitHub

cbuf: allow inheritance (#5883)

changes "private" vars to "protected" so that descendants are allowed to access them.
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册