Commit fb8551ba authored by Dominik Charousset's avatar Dominik Charousset

Fix read of uninitialized value, close #1173

parent 6476b9ac
......@@ -51,7 +51,7 @@ public:
}
explicit limited_vector(size_t initial_size) : size_(initial_size) {
T tmp;
auto tmp = T{};
std::fill_n(begin(), initial_size, tmp);
}
......
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