replace deprecated auto_ptr with unique_ptr

This commit is contained in:
wmayer
2016-09-22 13:01:20 +02:00
parent 1ce73dda96
commit f944ab3846
47 changed files with 129 additions and 129 deletions

View File

@@ -128,7 +128,7 @@ void DlgExpressionInput::textChanged(const QString &text)
if (error.size() > 0)
throw Base::Exception(error.c_str());
std::auto_ptr<Expression> result(expr->eval());
std::unique_ptr<Expression> result(expr->eval());
expression = expr;
ui->okBtn->setEnabled(true);