diff options
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/astexpression.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx index 955ffa49a233..eec117379b6f 100644 --- a/idlc/inc/astexpression.hxx +++ b/idlc/inc/astexpression.hxx @@ -103,7 +103,7 @@ public: // Data Accessors AstExprValue* getExprValue() - { return m_exprValue; } + { return m_exprValue.get(); } // Evaluation and value coercion bool coerce(ExprType type); @@ -129,7 +129,8 @@ private: ExprComb m_combOperator; AstExpression* m_subExpr1; AstExpression* m_subExpr2; - AstExprValue* m_exprValue; + std::unique_ptr<AstExprValue> + m_exprValue; OString* m_pSymbolicName; }; |