key_manager: Delete move operations

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

@ -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;