diff options
Diffstat (limited to 'Source/UnitTests/Common/StringUtilTest.cpp')
| -rw-r--r-- | Source/UnitTests/Common/StringUtilTest.cpp | 2 |
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); } |
