diff options
author | Pierre Ossman <ossman@cendio.se> | 2014-01-28 13:47:18 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2014-07-07 14:50:28 +0200 |
commit | 1b350ed9127e43863157a7a4453405fdf0cbb617 (patch) | |
tree | 7c767c3f530dc34b13792e9c816f290e13dff201 /common/rfb/PixelBuffer.cxx | |
parent | 8b56a87e6c33e933103898631eb7991e20845255 (diff) | |
download | tigervnc-1b350ed9127e43863157a7a4453405fdf0cbb617.tar.gz tigervnc-1b350ed9127e43863157a7a4453405fdf0cbb617.zip |
Avoid having virtual methods where not needed
Diffstat (limited to 'common/rfb/PixelBuffer.cxx')
-rw-r--r-- | common/rfb/PixelBuffer.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/rfb/PixelBuffer.cxx b/common/rfb/PixelBuffer.cxx index 3ed3a924..7f4c3440 100644 --- a/common/rfb/PixelBuffer.cxx +++ b/common/rfb/PixelBuffer.cxx @@ -40,10 +40,6 @@ PixelBuffer::PixelBuffer() : width_(0), height_(0) {} PixelBuffer::~PixelBuffer() {} -void PixelBuffer::setPF(const PixelFormat &pf) {format = pf;} -const PixelFormat& PixelBuffer::getPF() const {return format;} - - void PixelBuffer::getImage(void* imageBuf, const Rect& r, int outStride) { int inStride; |