summaryrefslogtreecommitdiffstats
path: root/common/rfb/Security.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-05-16 12:46:16 +0000
committerPierre Ossman <ossman@cendio.se>2011-05-16 12:46:16 +0000
commite5fe0701176438e373ca283cc0d08fe8e6ba8255 (patch)
tree85a272bb3b4fcd0a4bf3a930f9002fdb7c411f2b /common/rfb/Security.cxx
parent2eb1d11004ad23ffd1a044fca1cb96aa77bb42c9 (diff)
downloadtigervnc-e5fe0701176438e373ca283cc0d08fe8e6ba8255.tar.gz
tigervnc-e5fe0701176438e373ca283cc0d08fe8e6ba8255.zip
Add a default constructor so that you can create empty Security objects.
Useful when you just want to use the string encoder. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4418 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/Security.cxx')
-rw-r--r--common/rfb/Security.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index e51c8919..b5f361e9 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -52,6 +52,10 @@ using namespace std;
static LogWriter vlog("Security");
+Security::Security()
+{
+}
+
Security::Security(StringParameter &secTypes)
{
char *secTypesStr;