mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
use Q_DISABLE_COPY() macro to disable copying of QPODVector
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f27eb6f0df
commit
6ab4fd009e
1 changed files with 1 additions and 2 deletions
|
@ -143,8 +143,7 @@ public:
|
|||
|
||||
QPODVector<T,Increment> &operator<<(const T &v) { append(v); return *this; }
|
||||
private:
|
||||
QPODVector(const QPODVector &);
|
||||
QPODVector &operator=(const QPODVector &);
|
||||
Q_DISABLE_COPY(QPODVector);
|
||||
int m_count;
|
||||
int m_capacity;
|
||||
T *m_data;
|
||||
|
|
Loading…
Add table
Reference in a new issue