idlc: std::auto_ptr -> std::unique_ptr

Change-Id: I0d64c9b2b7aeddfd70541a14c8a325fea9944c39
This commit is contained in:
Stephan Bergmann
2014-09-30 12:27:24 +02:00
parent 381044bf28
commit 3b094090b6

View File

@@ -960,7 +960,7 @@ AstExprValue* AstExpression::eval_bin_op(EvalKind ek)
if (m_subExpr2->getExprValue() == NULL)
return NULL;
std::auto_ptr< AstExprValue > retval(new AstExprValue());
std::unique_ptr< AstExprValue > retval(new AstExprValue());
retval->et = eType;
switch (m_combOperator)
@@ -1010,9 +1010,7 @@ AstExprValue* AstExpression::eval_bit_op(EvalKind ek)
if (m_subExpr2->getExprValue() == NULL)
return NULL;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< AstExprValue > retval(new AstExprValue());
SAL_WNODEPRECATED_DECLARATIONS_POP
std::unique_ptr< AstExprValue > retval(new AstExprValue());
retval->et = ET_long;
switch (m_combOperator)
@@ -1055,9 +1053,7 @@ AstExprValue* AstExpression::eval_un_op(EvalKind ek)
if (m_subExpr1->getExprValue() == NULL)
return NULL;
SAL_WNODEPRECATED_DECLARATIONS_PUSH
std::auto_ptr< AstExprValue > retval(new AstExprValue());
SAL_WNODEPRECATED_DECLARATIONS_POP
std::unique_ptr< AstExprValue > retval(new AstExprValue());
retval->et = ET_double;
switch (m_combOperator)