commit | b779b12caa044baf1f5849d8201cd00c5a425ea0 | [log] [tgz] |
---|---|---|
author | Jamie Madill <jmadill@chromium.org> | Wed Jun 20 11:46:43 2018 -0400 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 26 17:57:44 2018 +0000 |
tree | 81f06509949c53d1bfdbe84ed098afbbe72d6293 | |
parent | 0bb940a80e12cce3a967104c99746a357dce8d85 [diff] [blame] |
Add kEmptyImmutableString. We can use this instead of ImmutableString(""). Bug: angleproject:2665 Change-Id: I8b3d5d3075838b9f2caa1627071202e48a5fdc83 Reviewed-on: https://chromium-review.googlesource.com/1108085 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Luc Ferron <lucferron@chromium.org>
diff --git a/src/compiler/translator/OutputHLSL.cpp b/src/compiler/translator/OutputHLSL.cpp index e93c3a6..121dd11 100644 --- a/src/compiler/translator/OutputHLSL.cpp +++ b/src/compiler/translator/OutputHLSL.cpp
@@ -1679,7 +1679,7 @@ } default: UNREACHABLE(); - return ImmutableString(""); + return kEmptyImmutableString; } }