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 /nbtheory.cpp | |
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 'nbtheory.cpp')
-rw-r--r-- | nbtheory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbtheory.cpp b/nbtheory.cpp index 4e903801..980cf72e 100644 --- a/nbtheory.cpp +++ b/nbtheory.cpp @@ -31,7 +31,7 @@ struct NewPrimeTable { const unsigned int maxPrimeTableSize = 3511; - std::auto_ptr<std::vector<word16> > pPrimeTable(new std::vector<word16>); + auto_ptr<std::vector<word16> > pPrimeTable(new std::vector<word16>); std::vector<word16> &primeTable = *pPrimeTable; primeTable.reserve(maxPrimeTableSize); |