summaryrefslogtreecommitdiffstats
path: root/src/common/uuid.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-24 19:30:07 +0100
committerZach Hilman <zachhilman@gmail.com>2019-04-25 14:07:57 +0200
commitf0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb (patch)
tree9a89f82fd9ac54d69bf7c4a2412689fe816aba41 /src/common/uuid.h
parentmii: Implement IDatabaseService commands using MiiManager (diff)
downloadyuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.tar
yuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.tar.gz
yuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.tar.bz2
yuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.tar.lz
yuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.tar.xz
yuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.tar.zst
yuzu-f0db2e3ef36a77f2f3eaf2dca15ddfe8851edecb.zip
Diffstat (limited to 'src/common/uuid.h')
-rw-r--r--src/common/uuid.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/uuid.h b/src/common/uuid.h
index 4a5e5fa7c..b8864b34f 100644
--- a/src/common/uuid.h
+++ b/src/common/uuid.h
@@ -1,9 +1,11 @@
-// Copyright 2018 Citra Emulator Project
+// Copyright 2018 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
+#include <string>
+
#include "common/common_types.h"
namespace Common {
@@ -33,7 +35,7 @@ struct UUID {
static UUID Generate();
// Set the UUID to {0,0} to be considered an invalid user
- void Invalidate() {
+ constexpr void Invalidate() {
uuid = INVALID_UUID;
}