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 5c21610a13..2be462a1b5 100644
--- a/Source/UnitTests/Common/StringUtilTest.cpp
+++ b/Source/UnitTests/Common/StringUtilTest.cpp
@@ -57,7 +57,7 @@ static void DoRoundTripTest(const std::vector<T>& data)
for (const T& e : data)
{
const std::string s = ValueToString(e);
- T out;
+ T out = T();
EXPECT_TRUE(TryParse(s, &out));
EXPECT_EQ(e, out);
}