]> WPIA git - cassiopeia.git/blobdiff - src/crypto/remoteSigner.cpp
fix: Make CppCheck happy by fixing the code
[cassiopeia.git] / src / crypto / remoteSigner.cpp
index b060f6cca116f25a4516357147f9f10612e6f512..b6c7c317d30047cf703c4c1824bb9c8836031ba2 100644 (file)
@@ -6,9 +6,7 @@
 #include <openssl/ssl.h>
 #include <openssl/bn.h>
 
-RemoteSigner::RemoteSigner( std::shared_ptr<BIO> target, std::shared_ptr<SSL_CTX> ctx ) {
-    this->target = target;
-    this->ctx = ctx;
+RemoteSigner::RemoteSigner( std::shared_ptr<BIO> target, std::shared_ptr<SSL_CTX> ctx ) : target( target ), ctx( ctx ) {
 }
 
 RemoteSigner::~RemoteSigner() {