key_manager: Delete move operations
Prevents the singleton from being moved from.
This commit is contained in:
parent
00a1d106bd
commit
c91710a82f
1 changed files with 3 additions and 0 deletions
|
@ -231,6 +231,9 @@ public:
|
||||||
KeyManager(const KeyManager&) = delete;
|
KeyManager(const KeyManager&) = delete;
|
||||||
KeyManager& operator=(const KeyManager&) = delete;
|
KeyManager& operator=(const KeyManager&) = delete;
|
||||||
|
|
||||||
|
KeyManager(KeyManager&&) = delete;
|
||||||
|
KeyManager& operator=(KeyManager&&) = delete;
|
||||||
|
|
||||||
bool HasKey(S128KeyType id, u64 field1 = 0, u64 field2 = 0) const;
|
bool HasKey(S128KeyType id, u64 field1 = 0, u64 field2 = 0) const;
|
||||||
bool HasKey(S256KeyType id, u64 field1 = 0, u64 field2 = 0) const;
|
bool HasKey(S256KeyType id, u64 field1 = 0, u64 field2 = 0) const;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue