summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kmines/solver/advFastRules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmines/solver/advFastRules.cpp b/kmines/solver/advFastRules.cpp
index 79c42bba..e9ad110f 100644
--- a/kmines/solver/advFastRules.cpp
+++ b/kmines/solver/advFastRules.cpp
@@ -81,7 +81,7 @@ bool AdviseFast::RuleSet::apply()
{
while(!_rules.empty()){
set<Entry>::iterator i = _rules.begin();
- std::auto_ptr<Rule> r (this->newRule(*i));
+ std::unique_ptr<Rule> r (this->newRule(*i));
_rules.erase(i);
if(r->apply(&this->_surePoints)) return true;