mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:20:04 +00:00
Add [[nodiscard]] to functions which need it in settings files
This commit is contained in:
parent
ba62004002
commit
36339e613f
14 changed files with 96 additions and 88 deletions
|
|
@ -88,7 +88,8 @@ public:
|
|||
void SetElementValidator(std::function<bool(const T&)> validator);
|
||||
|
||||
protected:
|
||||
virtual bool Equals(const SettingsVariableBase& o) const override;
|
||||
[[nodiscard]] virtual bool
|
||||
Equals(const SettingsVariableBase& o) const override;
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue