]> granicus.if.org Git - pdns/commitdiff
some deboostification I missed on my own platform
authorbert hubert <bert.hubert@netherlabs.nl>
Tue, 28 Apr 2015 17:56:01 +0000 (19:56 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Tue, 28 Apr 2015 17:56:01 +0000 (19:56 +0200)
pdns/pkcs11signers.cc

index d827bd4d323da0e7fa049c6fce1825d1f41a7390..0a3380b36fddfee33379c4db530dc13769e2469b 100644 (file)
@@ -630,7 +630,7 @@ std::shared_ptr<Pkcs11Token> Pkcs11Token::GetToken(const std::string& module, co
 
   // see if we have slot
   if ((slotIter = pkcs11_slots.find(sidx)) != pkcs11_slots.end()) {
-    pkcs11_tokens[tidx] = boost::make_shared<Pkcs11Token>(slotIter->second, label);
+    pkcs11_tokens[tidx] = std::make_shared<Pkcs11Token>(slotIter->second, label);
     return pkcs11_tokens[tidx];
   }
 
@@ -656,10 +656,10 @@ std::shared_ptr<Pkcs11Token> Pkcs11Token::GetToken(const std::string& module, co
   }
 
   // store slot
-  pkcs11_slots[sidx] = boost::make_shared<Pkcs11Slot>(functions, slotId);
+  pkcs11_slots[sidx] = std::make_shared<Pkcs11Slot>(functions, slotId);
 
   // looks ok to me.
-  pkcs11_tokens[tidx] = boost::make_shared<Pkcs11Token>(pkcs11_slots[sidx], label);
+  pkcs11_tokens[tidx] = std::make_shared<Pkcs11Token>(pkcs11_slots[sidx], label);
 
   return pkcs11_tokens[tidx];
 }