Added Logging and tweaked Systems

This commit is contained in:
2026-01-04 22:34:17 +02:00
parent 89ebe63e4b
commit 8174c19f00
5 changed files with 113 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ UUID::UUID(const UUID &uuid) {
}
UUID &UUID::operator=(const UUID &uuid) {
if (this != &uuid) {
if (this != &uuid) [[likely]] {
std::memcpy(data.get(), uuid.data.get(), UUID::ByteLength);
}
@@ -33,7 +33,7 @@ UUID &UUID::operator=(const UUID &uuid) {
}
UUID &UUID::operator=(UUID &&uuid) {
if (this != &uuid) {
if (this != &uuid) [[likely]] {
data.swap(uuid.data);
}