mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
move inline QSet::reserve() to class scope
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
28d539eaaf
commit
b2cc37cede
1 changed files with 2 additions and 4 deletions
|
@ -68,7 +68,8 @@ public:
|
|||
inline bool isEmpty() const { return q_hash.isEmpty(); }
|
||||
|
||||
inline int capacity() const { return q_hash.capacity(); }
|
||||
inline void reserve(int size);
|
||||
inline void reserve(int size) { q_hash.reserve(size); }
|
||||
|
||||
inline void squeeze() { q_hash.squeeze(); }
|
||||
|
||||
inline void detach() { q_hash.detach(); }
|
||||
|
@ -216,9 +217,6 @@ private:
|
|||
Hash q_hash;
|
||||
};
|
||||
|
||||
template <class T>
|
||||
Q_INLINE_TEMPLATE void QSet<T>::reserve(int asize) { q_hash.reserve(asize); }
|
||||
|
||||
template <class T>
|
||||
Q_INLINE_TEMPLATE QSet<T> &QSet<T>::unite(const QSet<T> &other)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue