summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-15 00:47:01 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-10-16 01:07:50 +0200
commitb652f5a703ba000e3f068c8c7ba9a32b099256d1 (patch)
treec0da8200410759c94414b6e68e219ad7fe87ac75 /src/corelib/global/qglobal.h
parentbc4bd3c1bcaa955d3fea86deef1d8098dfc682d8 (diff)
QtPrivate::Deprecated_t: code tidies
Change-Id: I08ae749b32aa9a302937691c76b7910175c8a71a Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index a9b412b7b1..7800b0e2c6 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -376,7 +376,7 @@ typedef double qreal;
// A tag to help mark stuff deprecated (cf. QStringViewLiteral)
namespace QtPrivate {
enum class Deprecated_t {};
-[[maybe_unused]] constexpr Deprecated_t Deprecated = {};
+constexpr inline Deprecated_t Deprecated = {};
}
#endif