]> source.dussan.org Git - tigervnc.git/commit
Add missing virtual destructors
authorSteve Kondik <shade@chemlab.org>
Sat, 8 Jul 2017 08:49:14 +0000 (01:49 -0700)
committerSteve Kondik <shade@chemlab.org>
Sat, 8 Jul 2017 09:28:12 +0000 (02:28 -0700)
commita6424624feda6f473e49f45f8c4bc32e3523c9e0
treec293d7e3836b0357f1e2e4c483fbb1a6b7a412da
parent3f744f77f85b96de92fed53a60dc96d7d3f22eb0
Add missing virtual destructors

Fix warnings emitted by Clang:

/home/shade/dev/tigervnc/common/rdr/FdInStream.h:30:9: error: 'rdr::FdInStreamBlockCallback' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  class FdInStreamBlockCallback {
        ^
In file included from /home/shade/dev/tigervnc/common/network/TcpSocket.cxx:44:
In file included from /home/shade/dev/tigervnc/common/network/TcpSocket.h:31:
/home/shade/dev/tigervnc/common/network/Socket.h:82:9: error: 'network::ConnectionFilter' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor]
  class ConnectionFilter {
        ^
..etc
common/network/Socket.h
common/rdr/FdInStream.h
common/rfb/SSecurityPlain.h
common/rfb/SSecurityVncAuth.h
common/rfb/Timer.h
common/rfb/UserPasswdGetter.h