diff options
author | Marc Mutz <marc.mutz@qt.io> | 2024-02-08 14:19:42 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2024-02-09 21:33:04 +0100 |
commit | 3a2d8c5828efee9f182c260f55720d3bb6152893 (patch) | |
tree | 13ff76b8993898d0b4f3459631bc422fe4b87e7c | |
parent | c2f38c69fc75e69ba9319fe85a27aca204833af8 (diff) |
QLoggingRegistry: disable copying
It's not copied, and copying would probably be a bad idea, so make
sure it's not done inadvertently.
Pick-to: 6.7 6.6 6.5
Change-Id: Ia7397906c0efb07ac5e079580bdbb15f4bf4911e
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
-rw-r--r-- | src/corelib/io/qloggingregistry_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qloggingregistry_p.h b/src/corelib/io/qloggingregistry_p.h index 4f18f6adf4..69ed1a4f96 100644 --- a/src/corelib/io/qloggingregistry_p.h +++ b/src/corelib/io/qloggingregistry_p.h @@ -85,6 +85,7 @@ private: class Q_AUTOTEST_EXPORT QLoggingRegistry { + Q_DISABLE_COPY_MOVE(QLoggingRegistry) public: QLoggingRegistry(); |