Closed alexey-lysiuk closed 6 years ago
Comparison function for std::sort() violated strict weak ordering relation leading to undefined behavior Regular crashes were encountered after weapon shooting
std::sort()
Ok, new compare function looks correct: http://en.cppreference.com/w/cpp/concept/Compare It`s strange, but on my compiler/standard library this bug did not appear.
Comparison function for
std::sort()
violated strict weak ordering relation leading to undefined behavior Regular crashes were encountered after weapon shooting