From 215c1f7f46bbd2b383d24bc7457f8b59e72381c9 Mon Sep 17 00:00:00 2001 From: mikee47 Date: Mon, 23 Nov 2020 13:19:03 +0000 Subject: [PATCH] Make ancestor `write` methods available in ReadWriteStream --- Sming/Core/Data/Stream/ReadWriteStream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sming/Core/Data/Stream/ReadWriteStream.h b/Sming/Core/Data/Stream/ReadWriteStream.h index 8672f0d76c..0cdef21026 100644 --- a/Sming/Core/Data/Stream/ReadWriteStream.h +++ b/Sming/Core/Data/Stream/ReadWriteStream.h @@ -24,6 +24,8 @@ class ReadWriteStream : public IDataSourceStream return write(&charToWrite, 1); } + using Print::write; + /** @brief Write chars to stream * @param buffer Pointer to buffer to write to the stream * @param size Quantity of chars to write