40                                    std::reference_wrapper<const tesseract_common::LinkNamesPair> pair2)
 
   43   if (pair1.get().first != pair2.get().first)
 
   45     return pair1.get().first < pair2.get().first;
 
   49   return pair1.get().second < pair2.get().second;
 
   52 std::vector<std::reference_wrapper<const tesseract_common::LinkNamesPair>>
 
   55   std::vector<std::reference_wrapper<const tesseract_common::LinkNamesPair>> acm_keys;
 
   56   acm_keys.reserve(allowed_collision_entries.size());
 
   57   for (
const auto& acm_pair : allowed_collision_entries)
 
   59     acm_keys.push_back(std::ref(acm_pair.first));