summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qfreelist_p.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-17 13:24:46 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-11-17 21:28:11 +0100
commit34304e3100883187ca658b8c983af21549496b43 (patch)
tree5c2e8216740e4ad4e9efc6010539c3a6cfbbbf8e /src/corelib/tools/qfreelist_p.h
parent1e9dc3ec2f254c711149f8c0376f0403df9b4650 (diff)
Get rid of Q_COMPILER_CONSTEXPR checks
Is required now. Change-Id: I62e95929d1649ea1390392230b619bd56d2a0349 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/tools/qfreelist_p.h')
-rw-r--r--src/corelib/tools/qfreelist_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/tools/qfreelist_p.h b/src/corelib/tools/qfreelist_p.h
index a90cb14cf5..f54e5aad65 100644
--- a/src/corelib/tools/qfreelist_p.h
+++ b/src/corelib/tools/qfreelist_p.h
@@ -207,9 +207,7 @@ public:
template <typename T, typename ConstantsType>
constexpr inline QFreeList<T, ConstantsType>::QFreeList()
:
-#if defined(Q_COMPILER_CONSTEXPR)
_v{}, // uniform initialization required
-#endif
_next(ConstantsType::InitialNextValue)
{ }