aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-26 21:15:07 -0700
committerFuwn <[email protected]>2022-04-26 21:15:07 -0700
commit5220f9de2710902768630d5521f36b8b90e1b664 (patch)
tree597999f73e6d03a2a876960cbc83960dafaa7779 /include
parentrefactor(include): global formatting (diff)
downloadsoyuz-5220f9de2710902768630d5521f36b8b90e1b664.tar.xz
soyuz-5220f9de2710902768630d5521f36b8b90e1b664.zip
refactor(soyuz): global style refactoring
Diffstat (limited to 'include')
-rw-r--r--include/soyuz/library.hh2
-rw-r--r--include/soyuz/tray.hh2
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;
}