summaryrefslogtreecommitdiff
path: root/nbtheory.cpp
diff options
context:
space:
mode:
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);