summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qrandom.cpp
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-01 16:58:21 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2021-05-02 11:52:12 +0200
commit6351b5433da083890e47faa62e21fb40fd042c79 (patch)
treeca7f4d8340796dca69ebc08c574763fb069fda15 /src/corelib/global/qrandom.cpp
parentd08d456844ba58c977bf83fc8e48085cbc75abfc (diff)
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 Pick-to: 5.15 6.0 6.1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global/qrandom.cpp')
-rw-r--r--src/corelib/global/qrandom.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp
index c978228094..272449438b 100644
--- a/src/corelib/global/qrandom.cpp
+++ b/src/corelib/global/qrandom.cpp
@@ -377,7 +377,6 @@ struct QRandomGenerator::SystemAndGlobalGenerators
constexpr SystemAndGlobalGenerators g = {};
Q_UNUSED(g);
- static_assert(std::is_literal_type<SystemAndGlobalGenerators>::value);
#endif
}