aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ast/SkSLASTDoStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ast/SkSLASTDoStatement.h')
-rw-r--r--src/sksl/ast/SkSLASTDoStatement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ast/SkSLASTDoStatement.h b/src/sksl/ast/SkSLASTDoStatement.h
index a952d62eb5..9a0caced1c 100644
--- a/src/sksl/ast/SkSLASTDoStatement.h
+++ b/src/sksl/ast/SkSLASTDoStatement.h
@@ -22,7 +22,7 @@ struct ASTDoStatement : public ASTStatement {
, fStatement(std::move(statement))
, fTest(std::move(test)) {}
- std::string description() const override {
+ SkString description() const override {
return "do " + fStatement->description() + " while (" + fTest->description() + ");";
}