Commit a279b554 authored by Marco Bubke's avatar Marco Bubke

Utils: Fix missing initialization in SmallString

Change-Id: I9f8d7aee15c1908f89c6208390cc46d737789144
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 93c832a6
...@@ -143,6 +143,7 @@ public: ...@@ -143,6 +143,7 @@ public:
} }
BasicSmallString(std::initializer_list<Utils::SmallStringView> list) BasicSmallString(std::initializer_list<Utils::SmallStringView> list)
: m_data(Internal::StringDataLayout<Size>())
{ {
std::size_t size = std::accumulate(list.begin(), std::size_t size = std::accumulate(list.begin(),
list.end(), list.end(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment