aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/TightEncoder.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-01-29 16:42:48 +0100
committerPierre Ossman <ossman@cendio.se>2014-07-07 14:42:08 +0200
commit4aba19e287b0105bb47777762ce14b3786d91019 (patch)
tree3ac8984f8b31dfebc3dffde057eb9f23af3d559c /common/rfb/TightEncoder.cxx
parent717c07b9671badeef0c18c91cf17fe9747559787 (diff)
downloadtigervnc-4aba19e287b0105bb47777762ce14b3786d91019.tar.gz
tigervnc-4aba19e287b0105bb47777762ce14b3786d91019.zip
Avoid reader/writer duplication in every encoder/decoder
Diffstat (limited to 'common/rfb/TightEncoder.cxx')
-rw-r--r--common/rfb/TightEncoder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/TightEncoder.cxx b/common/rfb/TightEncoder.cxx
index f4633f88..622dc3d4 100644
--- a/common/rfb/TightEncoder.cxx
+++ b/common/rfb/TightEncoder.cxx
@@ -93,7 +93,7 @@ const int TightEncoder::defaultCompressLevel = 2;
#include <rfb/tightEncode.h>
#undef BPP
-TightEncoder::TightEncoder(SMsgWriter* writer_) : writer(writer_)
+TightEncoder::TightEncoder(SMsgWriter* writer) : Encoder(writer)
{
setCompressLevel(defaultCompressLevel);
setQualityLevel(-1);