sparse_set: better return value for range ::push

This commit is contained in:
Michele Caini
2024-03-06 08:49:26 +01:00
parent ef61d4c3d0
commit ebc6f64af0
3 changed files with 18 additions and 6 deletions

View File

@@ -812,7 +812,7 @@ public:
try_emplace(*it, true);
}
return first == last ? end() : find(*first);
return first == last ? end() : begin(0);
}
/**