Merge "Instead of hardcoding OMX component names in our code, support"
This commit is contained in:
commit
6bb241d177
@ -186,8 +186,8 @@ public:
|
|||||||
inline const_iterator end() const { return array() + size(); }
|
inline const_iterator end() const { return array() + size(); }
|
||||||
inline void reserve(size_t n) { setCapacity(n); }
|
inline void reserve(size_t n) { setCapacity(n); }
|
||||||
inline bool empty() const{ return isEmpty(); }
|
inline bool empty() const{ return isEmpty(); }
|
||||||
inline void push_back(const TYPE& item) { insertAt(item, size()); }
|
inline void push_back(const TYPE& item) { insertAt(item, size(), 1); }
|
||||||
inline void push_front(const TYPE& item) { insertAt(item, 0); }
|
inline void push_front(const TYPE& item) { insertAt(item, 0, 1); }
|
||||||
inline iterator erase(iterator pos) {
|
inline iterator erase(iterator pos) {
|
||||||
return begin() + removeItemsAt(pos-array());
|
return begin() + removeItemsAt(pos-array());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user