Closed gkoulin closed 1 month ago
MSVC in Debug will throw "vector subscript out of range" error when calling std::vector::operator[] on empty vector. This will fail unit tests. Instead use std::vector::data() to retrieve data pointer.
std::vector::operator[]
std::vector::data()
thank you!
MSVC in Debug will throw "vector subscript out of range" error when calling
std::vector::operator[]
on empty vector. This will fail unit tests. Instead usestd::vector::data()
to retrieve data pointer.