refs #624 Use constexpr instead of Q_CONSTEXPR.

This commit is contained in:
Mathew Sutcliffe
2016-03-19 20:40:03 +00:00
parent e9bb8f2fcc
commit 96d9fffcd7
4 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ namespace BlackMisc
QString CAtomicFile::randomSuffix()
{
Q_CONSTEXPR auto max = 2176782335;
constexpr auto max = 2176782335;
return QString::number(std::uniform_int_distribution<std::decay<decltype(max)>::type>(0, max)(Private::defaultRandomGenerator()), 36);
}