Style: removed outdated comments and includes.

This commit is contained in:
Mat Sutcliffe
2019-01-05 16:47:18 +00:00
parent e61cdda8cf
commit 1493106970
8 changed files with 0 additions and 8 deletions

View File

@@ -50,7 +50,6 @@ namespace BlackMisc
//! \threadsafe
inline std::mt19937 &defaultRandomGenerator()
{
//! \fixme Qt 5.10: Use QRandomGenerator.
static QThreadStorage<std::mt19937> rng;
if (rng.hasLocalData()) { rng.setLocalData(std::mt19937(static_cast<std::mt19937::result_type>(QRandomGenerator::global()->generate()))); }
return rng.localData();