mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:20:06 +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
|
|
@ -22,7 +22,8 @@ public:
|
|||
HotkeySettings(HotkeySettings&&) noexcept;
|
||||
HotkeySettings& operator=(HotkeySettings&&) noexcept;
|
||||
|
||||
SettingsVariable<std::string>& hotkey(scwx::qt::types::Hotkey hotkey) const;
|
||||
[[nodiscard]] SettingsVariable<std::string>&
|
||||
hotkey(scwx::qt::types::Hotkey hotkey) const;
|
||||
|
||||
static HotkeySettings& Instance();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue