UUID system iteration 2

This commit is contained in:
2026-01-03 13:16:53 +02:00
parent 7470f01dc4
commit 6b5213d605
3 changed files with 47 additions and 5 deletions

View File

@@ -10,7 +10,6 @@
#include <bit>
#include <cstdint>
#include <ctime>
#include <format>
using namespace Tourmaline::Systems;
@@ -23,5 +22,5 @@ Tourmaline::Type::UUID Random::GenerateUUID() {
random_ab = std::rotl(hold, 12);
random_c = ((random_c >> 2) << 2) + 2;
return std::format("{:X}{:X}", random_ab, random_c);
return Tourmaline::Type::UUID(random_ab, random_c);
}