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
diff --git a/common/rfb/Security.cxx b/common/rfb/Security.cxx
index e51c891..b5f361e 100644
--- a/common/rfb/Security.cxx
+++ b/common/rfb/Security.cxx
@@ -52,6 +52,10 @@
static LogWriter vlog("Security");
+Security::Security()
+{
+}
+
Security::Security(StringParameter &secTypes)
{
char *secTypesStr;
diff --git a/common/rfb/Security.h b/common/rfb/Security.h
index 832735a..196eb42 100644
--- a/common/rfb/Security.h
+++ b/common/rfb/Security.h
@@ -65,6 +65,7 @@
/*
* Create Security instance.
*/
+ Security();
Security(StringParameter &secTypes);
/*