diff options
Diffstat (limited to 'src/sksl/ir/SkSLIntLiteral.h')
-rw-r--r-- | src/sksl/ir/SkSLIntLiteral.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ir/SkSLIntLiteral.h b/src/sksl/ir/SkSLIntLiteral.h index 8921c283b5..23325e65fb 100644 --- a/src/sksl/ir/SkSLIntLiteral.h +++ b/src/sksl/ir/SkSLIntLiteral.h @@ -22,7 +22,7 @@ struct IntLiteral : public Expression { : INHERITED(position, kIntLiteral_Kind, type ? *type : *context.fInt_Type) , fValue(value) {} - virtual std::string description() const override { + virtual SkString description() const override { return to_string(fValue); } |