Codechange: Removed SmallVector::operator[]

This commit is contained in:
Henry Wilson 2018-09-21 22:50:12 +01:00 committed by PeterN
parent 9cba6f7193
commit 56ae855dc2
1 changed files with 0 additions and 24 deletions

View File

@ -292,30 +292,6 @@ public:
assert(index <= std::vector<T>::size());
return this->Begin() + index;
}
/**
* Get item "number" (const)
*
* @param index the position of the item
* @return the item
*/
inline const T &operator[](uint index) const
{
assert(index < std::vector<T>::size());
return std::vector<T>::operator[](index);
}
/**
* Get item "number"
*
* @param index the position of the item
* @return the item
*/
inline T &operator[](uint index)
{
assert(index < std::vector<T>::size());
return std::vector<T>::operator[](index);
}
};