diff options
| author | Fuwn <[email protected]> | 2021-08-24 17:08:03 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-08-24 17:08:03 -0700 |
| commit | 9d1487a3b05af47b22c87ab8d52b2a190082ec60 (patch) | |
| tree | 3d775cb83ac8b0f375f05b8ed30fcd776b7d8ae5 | |
| parent | chore(library): remove unused include (diff) | |
| download | soyuz-9d1487a3b05af47b22c87ab8d52b2a190082ec60.tar.xz soyuz-9d1487a3b05af47b22c87ab8d52b2a190082ec60.zip | |
refactor(tray): emplace_back instead of push_back
| -rw-r--r-- | include/soyuz/tray.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/soyuz/tray.hh b/include/soyuz/tray.hh index 27c3214..4dc360c 100644 --- a/include/soyuz/tray.hh +++ b/include/soyuz/tray.hh @@ -10,7 +10,7 @@ #include <vector> #include <Windows.h> -#define LOG(message) logs.push_back(message); +#define LOG(message) logs.emplace_back(message); auto WindowProcedure(HWND, UINT, WPARAM, LPARAM) -> LRESULT; // CALLBACK auto minimize() -> void; |