forked from ShuriZma/suyu
1
0
Fork 0

key_manager: Delete move operations

Prevents the singleton from being moved from.
This commit is contained in:
Lioncash 2020-07-01 00:24:35 -04:00
parent 00a1d106bd
commit c91710a82f
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ public:
KeyManager(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(S256KeyType id, u64 field1 = 0, u64 field2 = 0) const;