diff options
Diffstat (limited to 'src/sksl/ast/SkSLASTWhileStatement.h')
-rw-r--r-- | src/sksl/ast/SkSLASTWhileStatement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sksl/ast/SkSLASTWhileStatement.h b/src/sksl/ast/SkSLASTWhileStatement.h index e29aa23e4a..853ac8028d 100644 --- a/src/sksl/ast/SkSLASTWhileStatement.h +++ b/src/sksl/ast/SkSLASTWhileStatement.h @@ -22,7 +22,7 @@ struct ASTWhileStatement : public ASTStatement { , fTest(std::move(test)) , fStatement(std::move(statement)) {} - std::string description() const override { + SkString description() const override { return "while (" + fTest->description() + ") " + fStatement->description(); } |