16 namespace vxdHoughTracking {
27 if (vectorToCheck.capacity() > limit) {
28 B2DEBUG(29,
"Capacity of vector too large, create fresh vector and swap.");
30 std::swap(vectorToCheck, tmp);
33 vectorToCheck.clear();
34 vectorToCheck.reserve(limit / 10);
void checkResizeClear(std::vector< T > &vectorToCheck, uint limit)
Check capacity of a vector and create a fresh one if capacity too large If the capacity of a std::vec...
Abstract base class for different kinds of events.