From 04d43cd71f081f1b8d2f0fd803a47cb6342e4fcd Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Thu, 15 Jun 2017 15:21:20 -0700 Subject: Remove more "core" code that isn't used. It is always easier to add back code when you need it, than it is to maintain code you aren't using. --- source/core/text-io.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source/core/text-io.h') diff --git a/source/core/text-io.h b/source/core/text-io.h index e0881cb91..acdaf0b9d 100644 --- a/source/core/text-io.h +++ b/source/core/text-io.h @@ -9,14 +9,14 @@ namespace Slang using Slang::List; using Slang::_EndLine; - class TextReader : public Slang::Object + class TextReader { protected: char decodedChar[5]; int decodedCharPtr = 0, decodedCharSize = 0; virtual void ReadChar() = 0; public: - ~TextReader() + virtual ~TextReader() { Close(); } @@ -45,10 +45,10 @@ namespace Slang } }; - class TextWriter : public Slang::Object + class TextWriter { public: - ~TextWriter() + virtual ~TextWriter() { Close(); } @@ -267,7 +267,7 @@ namespace Slang } }; - class StreamReader : public TextReader + class StreamReader : public TextReader { private: RefPtr stream; @@ -311,7 +311,6 @@ namespace Slang stream.Release(); } }; - } #endif -- cgit v1.2.3