aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTBoolLiteral.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTBoolLiteral.h')
-rw-r--r--src/sksl/ast/SkSLASTBoolLiteral.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ast/SkSLASTBoolLiteral.h b/src/sksl/ast/SkSLASTBoolLiteral.h
index 02f4bac0da..ff58822952 100644
--- a/src/sksl/ast/SkSLASTBoolLiteral.h
+++ b/src/sksl/ast/SkSLASTBoolLiteral.h
@@ -20,8 +20,8 @@ struct ASTBoolLiteral : public ASTExpression {
: INHERITED(position, kBool_Kind)
, fValue(value) {}
- SkString description() const override {
- return SkString(fValue ? "true" : "false");
+ std::string description() const override {
+ return fValue ? "true" : "false";
}
const bool fValue;