summaryrefslogtreecommitdiffstats
path: root/common/rfb/SSecurityNone.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SSecurityNone.h')
-rw-r--r--common/rfb/SSecurityNone.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/rfb/SSecurityNone.h b/common/rfb/SSecurityNone.h
index 5c19f290..f14d83a4 100644
--- a/common/rfb/SSecurityNone.h
+++ b/common/rfb/SSecurityNone.h
@@ -28,7 +28,8 @@ namespace rfb {
class SSecurityNone : public SSecurity {
public:
- virtual bool processMsg(SConnection* sc) { return true; }
+ SSecurityNone(SConnection* sc) : SSecurity(sc) {}
+ virtual bool processMsg() { return true; }
virtual int getType() const {return secTypeNone;}
virtual const char* getUserName() const {return 0;}
};