diff options
Diffstat (limited to 'src/sksl/ir/SkSLPostfixExpression.h')
-rw-r--r-- | src/sksl/ir/SkSLPostfixExpression.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sksl/ir/SkSLPostfixExpression.h b/src/sksl/ir/SkSLPostfixExpression.h index 1c400f9fee..6c9fafe5a0 100644 --- a/src/sksl/ir/SkSLPostfixExpression.h +++ b/src/sksl/ir/SkSLPostfixExpression.h @@ -21,11 +21,7 @@ struct PostfixExpression : public Expression { , fOperand(std::move(operand)) , fOperator(op) {} - bool hasSideEffects() const override { - return true; - } - - SkString description() const override { + virtual SkString description() const override { return fOperand->description() + Token::OperatorName(fOperator); } |