diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-08-03 19:11:23 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-08-03 19:11:23 -0400 |
commit | 1e103c0e5b2a55bef4a3561b388c78dd5f8181ca (patch) | |
tree | bebc016cd4485c0668ad854047f270a7fb8937ac /pubkey.h | |
parent | 7e6c9438da8787b6ea202dcaaea8aee0eff6e158 (diff) | |
download | cryptopp-git-1e103c0e5b2a55bef4a3561b388c78dd5f8181ca.tar.gz |
Completed cutover to unscoped auto_ptr (which will use Crypto++'s namespace version)
Diffstat (limited to 'pubkey.h')
-rw-r--r-- | pubkey.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,7 +38,7 @@ #include "eprecomp.h" #include "fips140.h" #include "argnames.h" -#include "stdcpp.h" +#include "smartptr.h" #include "trap.h" // VC60 workaround: this macro is defined in shlobj.h and conflicts with a template parameter used in this file @@ -1342,7 +1342,7 @@ class DL_SignerImpl : public DL_ObjectImpl<DL_SignerBase<typename SCHEME_OPTIONS public: PK_MessageAccumulator * NewSignatureAccumulator(RandomNumberGenerator &rng) const { - std::auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>); + auto_ptr<PK_MessageAccumulatorBase> p(new PK_MessageAccumulatorImpl<CPP_TYPENAME SCHEME_OPTIONS::HashFunction>); this->RestartMessageAccumulator(rng, *p); return p.release(); } |