Skip to content
Snippets Groups Projects
Commit 00a1d106 authored by Lioncash's avatar Lioncash
Browse files

key_manager: Make use of canonical deleted operator=

operator= typically returns a reference, it's not void.

While we're at it, we can correct the parameter formatting to adhere to the
codebase.
parent 3bb63bc0
No related branches found
No related tags found
No related merge requests found
...@@ -228,8 +228,8 @@ public: ...@@ -228,8 +228,8 @@ public:
return instance; return instance;
} }
KeyManager(KeyManager const&) = delete; KeyManager(const KeyManager&) = delete;
void operator=(KeyManager const&) = delete; KeyManager& operator=(const 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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment