From 5fde51cd2375c4155ca5117a557bba4188628c16 Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Sat, 2 Jun 2012 02:44:01 +0200 Subject: WINTERMUTE: Protect CBFile's private members. --- engines/wintermute/Base/file/BFile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engines/wintermute/Base/file/BFile.h b/engines/wintermute/Base/file/BFile.h index ba20975b46..bfabb9dfb9 100644 --- a/engines/wintermute/Base/file/BFile.h +++ b/engines/wintermute/Base/file/BFile.h @@ -40,9 +40,10 @@ class SeekableReadStream; namespace WinterMute { class CBFile : public CBBase { -public: +protected: uint32 _pos; uint32 _size; +public: virtual uint32 GetSize() { return _size; }; -- cgit v1.2.3