diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-01 16:58:21 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-02 11:52:12 +0200 |
commit | 6351b5433da083890e47faa62e21fb40fd042c79 (patch) | |
tree | ca7f4d8340796dca69ebc08c574763fb069fda15 /src/corelib/global | |
parent | d08d456844ba58c977bf83fc8e48085cbc75abfc (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')
-rw-r--r-- | src/corelib/global/qrandom.cpp | 1 |
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 } |