summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-08-03 19:11:23 -0400
committerJeffrey Walton <noloader@gmail.com>2015-08-03 19:11:23 -0400
commit1e103c0e5b2a55bef4a3561b388c78dd5f8181ca (patch)
treebebc016cd4485c0668ad854047f270a7fb8937ac /nbtheory.cpp
parent7e6c9438da8787b6ea202dcaaea8aee0eff6e158 (diff)
downloadcryptopp-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.cpp2
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);