summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/StringUtilTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/UnitTests/Common/StringUtilTest.cpp')
-rw-r--r--Source/UnitTests/Common/StringUtilTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/StringUtilTest.cpp b/Source/UnitTests/Common/StringUtilTest.cpp
index cae007fdbe..b9b186c131 100644
--- a/Source/UnitTests/Common/StringUtilTest.cpp
+++ b/Source/UnitTests/Common/StringUtilTest.cpp
@@ -44,7 +44,7 @@ TEST(StringUtil, StringEndsWith)
TEST(StringUtil, StringPopBackIf)
{
std::string abc = "abc";
- std::string empty = "";
+ std::string empty;
StringPopBackIf(&abc, 'a');
StringPopBackIf(&empty, 'a');