aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/ZRLEEncoder.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/ZRLEEncoder.cxx
parent717c07b9671badeef0c18c91cf17fe9747559787 (diff)
downloadtigervnc-4aba19e287b0105bb47777762ce14b3786d91019.tar.gz
tigervnc-4aba19e287b0105bb47777762ce14b3786d91019.zip
Avoid reader/writer duplication in every encoder/decoder
Diffstat (limited to 'common/rfb/ZRLEEncoder.cxx')
-rw-r--r--common/rfb/ZRLEEncoder.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/rfb/ZRLEEncoder.cxx b/common/rfb/ZRLEEncoder.cxx
index 7e00fad2..df7cfbdb 100644
--- a/common/rfb/ZRLEEncoder.cxx
+++ b/common/rfb/ZRLEEncoder.cxx
@@ -46,8 +46,8 @@ IntParameter zlibLevel("ZlibLevel","Zlib compression level",-1);
#undef CPIXEL
#undef BPP
-ZRLEEncoder::ZRLEEncoder(SMsgWriter* writer_)
- : writer(writer_), zos(0,0,zlibLevel), mos(129*1024)
+ZRLEEncoder::ZRLEEncoder(SMsgWriter* writer)
+ : Encoder(writer), zos(0,0,zlibLevel), mos(129*1024)
{
}