summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkinformation.h
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-01-26 12:43:44 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2021-01-27 17:03:37 +0100
commited05ef77587580bb291c7c1bebeb188fc9a3d883 (patch)
tree66120cd02b98edb2bf0bd6720d0a67cb05612ff9 /src/network/kernel/qnetworkinformation.h
parent7687e2a4295fedd844c46f921b78f21102d26685 (diff)
Fix static analysis warnings concerning QNetworkInformation
By marking undeclared and unused copy/move constructors as deleted. Change-Id: Ie74b9cb015090dbb425b701a55eadb9d80ab0285 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/kernel/qnetworkinformation.h')
-rw-r--r--src/network/kernel/qnetworkinformation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinformation.h b/src/network/kernel/qnetworkinformation.h
index 6321300f40..eddabc9707 100644
--- a/src/network/kernel/qnetworkinformation.h
+++ b/src/network/kernel/qnetworkinformation.h
@@ -89,6 +89,8 @@ Q_SIGNALS:
private:
friend class QNetworkInformationPrivate;
QNetworkInformation(QNetworkInformationBackend *backend);
+
+ Q_DISABLE_COPY_MOVE(QNetworkInformation)
};
QT_END_NAMESPACE