mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
14 lines
341 B
C++
14 lines
341 B
C++
#include <PreCompiled.h>
|
|
|
|
#include <Core/UUID.h>
|
|
|
|
namespace mlx
|
|
{
|
|
static std::random_device random_device;
|
|
static std::mt19937_64 engine(random_device());
|
|
static std::uniform_int_distribution<std::uint64_t> uniform_distribution;
|
|
|
|
UUID::UUID() : m_uuid(uniform_distribution(engine)) {}
|
|
UUID::UUID(std::uint64_t uuid) : m_uuid(uuid) {}
|
|
}
|