Closed w1png closed 2 years ago
I get this error when I try to run the program.
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = vis::ColorDefinition; _Alloc = std::allocator<vis::ColorDefinition>; std::vector<_Tp, _Alloc>::reference = vis::ColorDefinition&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. Aborted (core dumped)
I get this error when I try to run the program.
/usr/include/c++/11.1.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = vis::ColorDefinition; _Alloc = std::allocator<vis::ColorDefinition>; std::vector<_Tp, _Alloc>::reference = vis::ColorDefinition&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. Aborted (core dumped)