aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-08-24 17:08:03 -0700
committerFuwn <[email protected]>2021-08-24 17:08:03 -0700
commit9d1487a3b05af47b22c87ab8d52b2a190082ec60 (patch)
tree3d775cb83ac8b0f375f05b8ed30fcd776b7d8ae5
parentchore(library): remove unused include (diff)
downloadsoyuz-9d1487a3b05af47b22c87ab8d52b2a190082ec60.tar.xz
soyuz-9d1487a3b05af47b22c87ab8d52b2a190082ec60.zip
refactor(tray): emplace_back instead of push_back
-rw-r--r--include/soyuz/tray.hh2
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;