From f2806e5133e233204e03c03ba25abd75cafdde54 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sat, 14 Dec 2019 22:18:27 +0000 Subject: [PATCH] make use of Q_DISABLE_COPY() macro in QStandardPaths Signed-off-by: Ivailo Monev --- src/core/io/qstandardpaths.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/io/qstandardpaths.h b/src/core/io/qstandardpaths.h index 239e250a7..1d595b429 100644 --- a/src/core/io/qstandardpaths.h +++ b/src/core/io/qstandardpaths.h @@ -76,10 +76,8 @@ class Q_CORE_EXPORT QStandardPaths static void setTestModeEnabled(bool testMode); static bool isTestModeEnabled(); - private: - // prevent construction - QStandardPaths(); - ~QStandardPaths(); +private: + Q_DISABLE_COPY(QStandardPaths) }; #endif // QT_NO_STANDARDPATHS