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

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;