From 6f0df02d002356625f10683ef84da7685d92a2c4 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 12 Aug 2020 14:14:02 +0200 Subject: Replace Qt CONSTEXPR defines with constexpr Both normal and relaxed constexpr are required by our new minimum of C++17. Change-Id: Ic028b88a2e7a6cb7d5925f3133b9d54859a81744 Reviewed-by: Sona Kurazyan --- tests/auto/corelib/tools/qlist/tst_qlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/corelib/tools/qlist/tst_qlist.cpp') diff --git a/tests/auto/corelib/tools/qlist/tst_qlist.cpp b/tests/auto/corelib/tools/qlist/tst_qlist.cpp index c5ba53ad57..f0af24a96b 100644 --- a/tests/auto/corelib/tools/qlist/tst_qlist.cpp +++ b/tests/auto/corelib/tools/qlist/tst_qlist.cpp @@ -3094,7 +3094,7 @@ void tst_QList::fromReadOnlyData() const { struct LiteralType { int value; - Q_DECL_CONSTEXPR LiteralType(int v = 0) : value(v) {} + constexpr LiteralType(int v = 0) : value(v) {} }; const LiteralType literal[] = {LiteralType(0), LiteralType(1), LiteralType(2)}; -- cgit v1.2.3