QDataBuffer: disable copy special member functions
The compiler-generated ones would break class invariants. This internal class so far isn't copied. This patch makes sure that it stays that way. Change-Id: I8bf75058edaf2adf148ae9edff4bf4e9a3b3368d Reviewed-by: Gunnar Sletta <gunnar@sletta.org>bb10
parent
8793ad8175
commit
7796562998
|
|
@ -53,6 +53,7 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
template <typename Type> class QDataBuffer
|
||||
{
|
||||
Q_DISABLE_COPY(QDataBuffer);
|
||||
public:
|
||||
QDataBuffer(int res)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue