mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +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; }
|
QPODVector<T,Increment> &operator<<(const T &v) { append(v); return *this; }
|
||||||
private:
|
private:
|
||||||
QPODVector(const QPODVector &);
|
Q_DISABLE_COPY(QPODVector);
|
||||||
QPODVector &operator=(const QPODVector &);
|
|
||||||
int m_count;
|
int m_count;
|
||||||
int m_capacity;
|
int m_capacity;
|
||||||
T *m_data;
|
T *m_data;
|
||||||
|
|
Loading…
Add table
Reference in a new issue