Comment fix

This commit is contained in:
Mugr Rex 2023-04-15 01:37:59 +02:00
parent fb0400f4b1
commit c9ac8ee3ab

View File

@ -210,8 +210,8 @@ void NodeBasedGraphFactory::CompressAnnotationData()
// remove unreferenced entries, shifting other entries to the front // remove unreferenced entries, shifting other entries to the front
const auto new_end = const auto new_end =
std::remove_if(annotation_data.begin(), annotation_data.end(), [&](auto const &data) { std::remove_if(annotation_data.begin(), annotation_data.end(), [&](auto const &data) {
// both elements are considered equal (to remove the // both elements are considered equal (to remove the second
// second one) if the annotation mapping of the second one is // one) if the annotation mapping of the second one is
// invalid // invalid
return data.name_id == INVALID_NAMEID; return data.name_id == INVALID_NAMEID;
}); });