using m_region_map instead of m_visited resolves failed test on Archlinux-clang-release

This commit is contained in:
Sven Oesau 2022-09-01 19:30:09 +02:00
parent 2f6beec951
commit 421c88d363
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ namespace Shape_detection {
for (auto it = input_range.begin(); it != input_range.end(); it++) {
Item i = get(item_map_,it);
if (!get(m_visited, i))
if (get(m_region_map, i) == std::size_t(-1))
*(output++) = i;
}
return output;