modernize: Prefer default member init over ctor init
[quassel.git] / src / client / clientidentity.cpp
index 16e1c42..dc6ebe5 100644 (file)
 
 CertIdentity::CertIdentity(IdentityId id, QObject *parent)
     : Identity(id, parent)
-#ifdef HAVE_SSL
-    ,  _certManager(nullptr),
-    _isDirty(false)
-#endif
 {
 }
 
 
 CertIdentity::CertIdentity(const Identity &other, QObject *parent)
     : Identity(other, parent)
-#ifdef HAVE_SSL
-    , _certManager(nullptr),
-    _isDirty(false)
-#endif
 {
 }
 
@@ -46,10 +38,9 @@ CertIdentity::CertIdentity(const Identity &other, QObject *parent)
 CertIdentity::CertIdentity(const CertIdentity &other, QObject *parent)
     : Identity(other, parent)
 #ifdef HAVE_SSL
-    , _certManager(nullptr),
-    _isDirty(other._isDirty),
-    _sslKey(other._sslKey),
-    _sslCert(other._sslCert)
+    , _isDirty(other._isDirty)
+    , _sslKey(other._sslKey)
+    , _sslCert(other._sslCert)
 #endif
 {
 }