Codechange: Replaced SmallVector::Get() const with std alternatives

This commit is contained in:
Henry Wilson
2018-09-25 21:20:24 +01:00
committed by PeterN
parent aa7ca7fe64
commit 097328c3d7
11 changed files with 25 additions and 38 deletions

View File

@@ -167,19 +167,6 @@ public:
{
return std::vector<T>::data() + std::vector<T>::size();
}
/**
* Get the pointer to item "number" (const)
*
* @param index the position of the item
* @return the pointer to the item
*/
inline const T *Get(uint index) const
{
/* Allow access to the 'first invalid' item */
assert(index <= std::vector<T>::size());
return this->Begin() + index;
}
};