fix: conflicting declaration build error from gcc
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
60944b9d49
commit
5f1c65d72d
1 changed files with 4 additions and 2 deletions
|
@ -2,8 +2,10 @@
|
||||||
|
|
||||||
namespace lt {
|
namespace lt {
|
||||||
|
|
||||||
auto UUID::s_engine = std::mt19937_64(std::random_device()());
|
std::mt19937_64 UUID::s_engine = std::mt19937_64(std::random_device()());
|
||||||
auto UUID::s_distribution = std::uniform_int_distribution<uint64_t> {};
|
|
||||||
|
std::uniform_int_distribution<uint64_t>
|
||||||
|
UUID::s_distribution = std::uniform_int_distribution<uint64_t> {};
|
||||||
|
|
||||||
UUID::UUID(uint64_t uuid /* = -1 */): m_uuid(uuid == -1 ? s_distribution(s_engine) : uuid)
|
UUID::UUID(uint64_t uuid /* = -1 */): m_uuid(uuid == -1 ? s_distribution(s_engine) : uuid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue