From fbad8a9adb7d67388914e857181ce2ed55547721 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 10 Nov 2015 17:12:56 +0100 Subject: [PATCH] Remove unneeded virtual qualifiers on stream methods --- common/rdr/InStream.h | 2 +- common/rdr/OutStream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/rdr/InStream.h b/common/rdr/InStream.h index 760fb3dc..212a2ec9 100644 --- a/common/rdr/InStream.h +++ b/common/rdr/InStream.h @@ -92,7 +92,7 @@ namespace rdr { // readBytes() reads an exact number of bytes. - virtual void readBytes(void* data, int length) { + void readBytes(void* data, int length) { U8* dataPtr = (U8*)data; U8* dataEnd = dataPtr + length; while (dataPtr < dataEnd) { diff --git a/common/rdr/OutStream.h b/common/rdr/OutStream.h index 4afd4bfb..94d57dd3 100644 --- a/common/rdr/OutStream.h +++ b/common/rdr/OutStream.h @@ -89,7 +89,7 @@ namespace rdr { // writeBytes() writes an exact number of bytes. - virtual void writeBytes(const void* data, int length) { + void writeBytes(const void* data, int length) { const U8* dataPtr = (const U8*)data; const U8* dataEnd = dataPtr + length; while (dataPtr < dataEnd) { -- 2.39.5