diff options
Diffstat (limited to 'src/sksl/ir/SkSLForStatement.h')
-rw-r--r-- | src/sksl/ir/SkSLForStatement.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLForStatement.h b/src/sksl/ir/SkSLForStatement.h index 642d15125e..ff03d0d7f9 100644 --- a/src/sksl/ir/SkSLForStatement.h +++ b/src/sksl/ir/SkSLForStatement.h @@ -28,8 +28,8 @@ struct ForStatement : public Statement { , fStatement(std::move(statement)) , fSymbols(symbols) {} - std::string description() const override { - std::string result = "for ("; + SkString description() const override { + SkString result("for ("); if (fInitializer) { result += fInitializer->description(); } |