From 32692667a625f31aa02e0303f2139c780ae42694 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 17 Mar 2022 12:07:44 +0100 Subject: Apply Q_CONSTINIT across the codebase Still not complete. Just grepping for static and thread_local. Task-number: QTBUG-100486 Change-Id: I90ca14e8db3a95590ecde5f89924cf6fcc9755a3 Reviewed-by: Qt CI Bot Reviewed-by: Thiago Macieira --- src/corelib/tools/qhash.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/tools/qhash.cpp') diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index eb9c1590d2..24e710c2e5 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -204,6 +204,8 @@ inline HashSeedStorage::StateResult HashSeedStorage::state(int which) */ #ifdef Q_DECL_INIT_PRIORITY Q_DECL_INIT_PRIORITY(05) +#else +Q_CONSTINIT #endif static HashSeedStorage qt_qhash_seed; -- cgit v1.2.3