diff options
| author | Fuwn <[email protected]> | 2022-04-26 21:15:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-04-26 21:15:07 -0700 |
| commit | ad7571e49a0be8de1e000ec923b82524b6042e91 (patch) | |
| tree | 597999f73e6d03a2a876960cbc83960dafaa7779 /include | |
| parent | refactor(include): global formatting (diff) | |
| download | soyuz-ad7571e49a0be8de1e000ec923b82524b6042e91.tar.xz soyuz-ad7571e49a0be8de1e000ec923b82524b6042e91.zip | |
refactor(soyuz): global style refactoring
Diffstat (limited to 'include')
| -rw-r--r-- | include/soyuz/library.hh | 2 | ||||
| -rw-r--r-- | include/soyuz/tray.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/soyuz/library.hh b/include/soyuz/library.hh index 8ada0bf..5074d2a 100644 --- a/include/soyuz/library.hh +++ b/include/soyuz/library.hh @@ -46,7 +46,7 @@ struct log_t { ) : level(level), value(std::move(value)) {} - auto to_colorref() -> COLORREF; + [[nodiscard]] auto to_colorref() const -> COLORREF; }; static auto CALLBACK enum_windows_proc(HWND, LPARAM) -> BOOL; diff --git a/include/soyuz/tray.hh b/include/soyuz/tray.hh index c4adc30..178600d 100644 --- a/include/soyuz/tray.hh +++ b/include/soyuz/tray.hh @@ -24,7 +24,7 @@ auto InitNotifyIconData() -> void; namespace soyuz { -auto log(const std::string &) -> void; +[[maybe_unused]] auto log(const std::string &) -> void; auto log(log_level, const std::string &) -> void; } |