From 6774d5769b74631c279fbdb56dbaa354bcece9fc Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 6 Jan 2021 07:10:54 +0200 Subject: [PATCH] compiler warning fix Signed-off-by: Ivailo Monev --- src/core/tools/qsharedpointer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/tools/qsharedpointer.h b/src/core/tools/qsharedpointer.h index 1c909575a..a90dce6e1 100644 --- a/src/core/tools/qsharedpointer.h +++ b/src/core/tools/qsharedpointer.h @@ -152,8 +152,8 @@ namespace QtSharedPointer { QAtomicInt strongref; inline ExternalRefCountData() - : strongref(1), - weakref(1) + : weakref(1), + strongref(1) { } inline ExternalRefCountData(Qt::Initialization) { } -- 2.11.0