16 namespace vxdHoughTracking {
24 void checkResizeClear(std::vector<T>& vectorToCheck, uint limit)
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);
Abstract base class for different kinds of events.