diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 06:40:48 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-02-05 19:18:46 +0100 |
commit | ee0547e4c4d38d681d9cd3b9f7071c4dade9110d (patch) | |
tree | 9833fb69b1bd34105ea7d43dc74977c0c88e9fb3 /src/core/hle/service/time/steady_clock_core.h | |
parent | input/hid: Migrate to the new UUID implementation (diff) | |
download | yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.gz yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.bz2 yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.lz yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.xz yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.tar.zst yuzu-ee0547e4c4d38d681d9cd3b9f7071c4dade9110d.zip |
Diffstat (limited to 'src/core/hle/service/time/steady_clock_core.h')
-rw-r--r-- | src/core/hle/service/time/steady_clock_core.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/time/steady_clock_core.h b/src/core/hle/service/time/steady_clock_core.h index d80a2385f..dfc9fade4 100644 --- a/src/core/hle/service/time/steady_clock_core.h +++ b/src/core/hle/service/time/steady_clock_core.h @@ -4,7 +4,7 @@ #pragma once -#include "common/uuid.h" +#include "common/new_uuid.h" #include "core/hle/service/time/clock_types.h" namespace Core { @@ -18,11 +18,11 @@ public: SteadyClockCore() = default; virtual ~SteadyClockCore() = default; - const Common::UUID& GetClockSourceId() const { + const Common::NewUUID& GetClockSourceId() const { return clock_source_id; } - void SetClockSourceId(const Common::UUID& value) { + void SetClockSourceId(const Common::NewUUID& value) { clock_source_id = value; } @@ -49,7 +49,7 @@ public: } private: - Common::UUID clock_source_id{Common::UUID::Generate()}; + Common::NewUUID clock_source_id{Common::NewUUID::MakeRandom()}; bool is_initialized{}; }; |