mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 19:00:14 -05:00
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.
This commit is contained in:
parent
3bb63bc0b3
commit
00a1d106bd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue