diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-01 16:58:21 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-05-02 16:03:48 +0000 |
commit | 363c407587529fb47414e004f5a74d8f34366588 (patch) | |
tree | e7dc4ab752b3f9e535c3c10ae64b0b87997be0fb /src | |
parent | 284d15bbec07fee6e695ea16bebd8f05d1601e19 (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
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 6351b5433da083890e47faa62e21fb40fd042c79)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-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 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<SystemAndGlobalGenerators>::value); #endif } |