- // (when the auto_ptr deletes the key it removes itself from the map).
- secdebug("freeKey", "CSPDL FreeKey");
- auto_ptr<SDKey> ssKey(&mSDCSPDLSession.find<SDKey>(ioKey));
+ // (when the unique_ptr deletes the key it removes itself from the map).
+ secinfo("freeKey", "CSPDL FreeKey");
+ unique_ptr<SDKey> ssKey(&mSDCSPDLSession.find<SDKey>(ioKey));