From 34304e3100883187ca658b8c983af21549496b43 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 17 Nov 2020 13:24:46 +0100 Subject: Get rid of Q_COMPILER_CONSTEXPR checks Is required now. Change-Id: I62e95929d1649ea1390392230b619bd56d2a0349 Reviewed-by: Lars Knoll --- tests/auto/corelib/text/qstringview/tst_qstringview.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/corelib/text') diff --git a/tests/auto/corelib/text/qstringview/tst_qstringview.cpp b/tests/auto/corelib/text/qstringview/tst_qstringview.cpp index 42b4767c50..a78004f04d 100644 --- a/tests/auto/corelib/text/qstringview/tst_qstringview.cpp +++ b/tests/auto/corelib/text/qstringview/tst_qstringview.cpp @@ -281,7 +281,6 @@ private: void tst_QStringView::constExpr() const { // compile-time checks -#ifdef Q_COMPILER_CONSTEXPR { constexpr QStringView sv; static_assert(sv.size() == 0); @@ -363,7 +362,6 @@ void tst_QStringView::constExpr() const static_assert(sv3.isEmpty()); static_assert(sv3.size() == 0); } -#endif } void tst_QStringView::basics() const -- cgit v1.2.3