Use rstl::find

This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-04 00:12:10 +02:00
parent 7f414d1d5e
commit 6c4971ec76
2 changed files with 4 additions and 9 deletions

View File

@@ -81,13 +81,6 @@ public:
--x0_count;
}
}
iterator find(const T& value) {
rstl::reserved_vector< TUniqueId, 8 >::iterator it = begin();
for (; it != end() && *it != value; ++it) {
}
return it;
}
};
} // namespace rstl