]> WPIA git - cassiopeia.git/blobdiff - src/io/recordHandler.cpp
fix: Make CppCheck happy by fixing the code
[cassiopeia.git] / src / io / recordHandler.cpp
index 2ba71c2675b821080fc39617523d6bd0096b4bc0..c46c84560d511c0f7ab338804210e27038769600 100644 (file)
@@ -221,14 +221,8 @@ public:
     }
 };
 
-DefaultRecordHandler::DefaultRecordHandler( std::shared_ptr<Signer> signer, std::shared_ptr<BIO> bio ) :
-    currentSession() {
-
-    this->signer = signer;
-
-    ctx = generateSSLContext( true );
-
-    this->bio = bio;
+DefaultRecordHandler::DefaultRecordHandler( std::shared_ptr<Signer> signer, std::shared_ptr<BIO> bio )
+    : bio( bio ), ctx( generateSSLContext( true ) ), signer( signer ), currentSession() {
 }
 
 void DefaultRecordHandler::reset() {