aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurity.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2018-09-21 15:26:37 +0200
committerPierre Ossman <ossman@cendio.se>2018-09-21 15:26:37 +0200
commit82d22e64990288ebbf95ba4d73e51de3540337b8 (patch)
tree15051e9937ee9d3b592a1bac418b9c0d8b8a27a9 /common/rfb/SSecurity.h
parent6fba8ca7e7c896d3758b8401b35cee0849778fbd (diff)
downloadtigervnc-82d22e64990288ebbf95ba4d73e51de3540337b8.tar.gz
tigervnc-82d22e64990288ebbf95ba4d73e51de3540337b8.zip
Remove destroy functions
These are just confusing and obfuscating. Do a normal delete of these objects instead.
Diffstat (limited to 'common/rfb/SSecurity.h')
-rw-r--r--common/rfb/SSecurity.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/rfb/SSecurity.h b/common/rfb/SSecurity.h
index 6da63c3c..0280574d 100644
--- a/common/rfb/SSecurity.h
+++ b/common/rfb/SSecurity.h
@@ -54,7 +54,6 @@ namespace rfb {
public:
virtual ~SSecurity() {}
virtual bool processMsg(SConnection* sc)=0;
- virtual void destroy() { delete this; }
virtual int getType() const = 0;
// getUserName() gets the name of the user attempting authentication. The