summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/astexpression.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx
index 1f22e9ce9473..ec56a94542e3 100644
--- a/idlc/source/astexpression.cxx
+++ b/idlc/source/astexpression.cxx
@@ -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)