QIODevicePrivate: disable copy/move SMFs

Clazy complained about this polymophic class being copyable.

Change-Id: I05087bb7fcf7112136e5d62c108ea460569f2aa0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
bb10
Marc Mutz 2022-04-04 15:08:40 +02:00
parent 18eaf72991
commit ad26d6a18d
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class Q_CORE_EXPORT QIODevicePrivate
#endif
{
Q_DECLARE_PUBLIC(QIODevice)
Q_DISABLE_COPY_MOVE(QIODevicePrivate)
public:
QIODevicePrivate();