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>
bb10
Giuseppe D'Angelo 2021-05-01 16:58:21 +02:00
parent d08d456844
commit 6351b5433d
1 changed files with 0 additions and 1 deletions

View File

@ -377,7 +377,6 @@ struct QRandomGenerator::SystemAndGlobalGenerators
constexpr SystemAndGlobalGenerators g = {};
Q_UNUSED(g);
static_assert(std::is_literal_type<SystemAndGlobalGenerators>::value);
#endif
}