Use rstl::find

Former-commit-id: 6c4971ec76
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-04 00:12:10 +02:00
parent 28976e9994
commit a239c9ddde
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