Commit 3f83af2f authored by David Moxey's avatar David Moxey

Fix uninitialised variable issue

parent e4e9a10b
......@@ -74,14 +74,14 @@ public:
static_assert(std::is_integral<T>::value && std::is_unsigned<T>::value,
"Unsigned integer type required.");
std::ostringstream ss;
auto first = v[0], last = v[0];
if (v.size() == 0)
{
return "";
}
std::ostringstream ss;
auto first = v[0], last = v[0];
ss << v[0];
for (auto &i : v)
......
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