Changeset - r23519:04e2cd195801
[Not reviewed]
master
0 1 0
Henry Wilson - 6 years ago 2018-09-21 21:50:12
m3henry@googlemail.com
Codechange: Removed SmallVector::operator[]
1 file changed with 0 insertions and 24 deletions:
0 comments (0 inline, 0 general)
src/core/smallvec_type.hpp
Show inline comments
 
@@ -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);
 
	}
 
};
 

	
 

	
0 comments (0 inline, 0 general)