From 753eef299adda1274ac7915119f1b14d9d5928d8 Mon Sep 17 00:00:00 2001 From: Frank Date: Sat, 13 Nov 2021 13:04:35 +0100 Subject: [PATCH] cbuf: allow inheritance changes "private" vars to "protected" so that descendants are allowed to access them. --- cores/esp32/cbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/cbuf.h b/cores/esp32/cbuf.h index ca65affcce9..490352e3202 100644 --- a/cores/esp32/cbuf.h +++ b/cores/esp32/cbuf.h @@ -62,7 +62,7 @@ class cbuf cbuf *next; -private: +protected: inline char* wrap_if_bufend(char* ptr) const { return (ptr == _bufend) ? _buf : ptr;