diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-11-10 17:12:56 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-11-27 10:58:20 +0100 |
commit | fbad8a9adb7d67388914e857181ce2ed55547721 (patch) | |
tree | 6858b55ec29bd2b08b8ec7cfdbf37167616a5571 /common | |
parent | 7bfb73b61210f5d38a8162a88730fb8bb5bfb33b (diff) | |
download | tigervnc-fbad8a9adb7d67388914e857181ce2ed55547721.tar.gz tigervnc-fbad8a9adb7d67388914e857181ce2ed55547721.zip |
Remove unneeded virtual qualifiers on stream methods
Diffstat (limited to 'common')
-rw-r--r-- | common/rdr/InStream.h | 2 | ||||
-rw-r--r-- | 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) { |