cbuf: allow inheritance (#5883)

changes "private" vars to "protected" so that descendants are allowed to access them.
This commit is contained in:
Frank
2021-11-18 13:25:04 +01:00
committed by GitHub
parent 6f1f394680
commit bd2be80b54

View File

@ -62,7 +62,7 @@ public:
cbuf *next;
private:
protected:
inline char* wrap_if_bufend(char* ptr) const
{
return (ptr == _bufend) ? _buf : ptr;