From 363c407587529fb47414e004f5a74d8f34366588 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Sat, 1 May 2021 16:58:21 +0200 Subject: QRandom: drop a usage of std::is_literal_type It's deprecated/removed, and indeed doesn't check anything that it's not also already being checked by the previous line. Change-Id: Ic80ca43f390dd989ced69f196efa7313069e7c6d Reviewed-by: Thiago Macieira (cherry picked from commit 6351b5433da083890e47faa62e21fb40fd042c79) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/global/qrandom.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp index ca16566c1c..7f85813716 100644 --- a/src/corelib/global/qrandom.cpp +++ b/src/corelib/global/qrandom.cpp @@ -376,7 +376,6 @@ struct QRandomGenerator::SystemAndGlobalGenerators constexpr SystemAndGlobalGenerators g = {}; Q_UNUSED(g); - static_assert(std::is_literal_type::value); #endif } -- cgit v1.2.3