Skip to content

Commit bd2be80

Browse files
authored
cbuf: allow inheritance (espressif#5883)
changes "private" vars to "protected" so that descendants are allowed to access them.
1 parent 6f1f394 commit bd2be80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/cbuf.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class cbuf
6262

6363
cbuf *next;
6464

65-
private:
65+
protected:
6666
inline char* wrap_if_bufend(char* ptr) const
6767
{
6868
return (ptr == _bufend) ? _buf : ptr;

0 commit comments

Comments
 (0)