diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-10-15 00:47:01 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-10-16 01:07:50 +0200 |
commit | b652f5a703ba000e3f068c8c7ba9a32b099256d1 (patch) | |
tree | c0da8200410759c94414b6e68e219ad7fe87ac75 /src | |
parent | bc4bd3c1bcaa955d3fea86deef1d8098dfc682d8 (diff) |
QtPrivate::Deprecated_t: code tidies
Change-Id: I08ae749b32aa9a302937691c76b7910175c8a71a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/global/qglobal.h | 2 |
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 |