summaryrefslogtreecommitdiffstats
path: root/common/rfb/CSecurityNone.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/CSecurityNone.h')
-rw-r--r--common/rfb/CSecurityNone.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/CSecurityNone.h b/common/rfb/CSecurityNone.h
index a7db6e03..d07815f6 100644
--- a/common/rfb/CSecurityNone.h
+++ b/common/rfb/CSecurityNone.h
@@ -29,7 +29,8 @@ namespace rfb {
class CSecurityNone : public CSecurity {
public:
- virtual bool processMsg(CConnection* cc) { return true; }
+ CSecurityNone(CConnection* cc) : CSecurity(cc) {}
+ virtual bool processMsg() { return true; }
virtual int getType() const {return secTypeNone;}
virtual const char* description() const {return "No Encryption";}
};