diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-07 03:08:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-07 03:08:30 +0300 |
commit | 4fea23077f9354897c2eb594320f698e6fe57e8a (patch) | |
tree | 1c5a7c5fb2cc8a41019df3f76b04a90fe7e33661 | |
parent | 3e0bce53e2b3387801f3e0484f01a64d767115da (diff) | |
download | manaverse-4fea23077f9354897c2eb594320f698e6fe57e8a.tar.gz manaverse-4fea23077f9354897c2eb594320f698e6fe57e8a.tar.bz2 manaverse-4fea23077f9354897c2eb594320f698e6fe57e8a.tar.xz manaverse-4fea23077f9354897c2eb594320f698e6fe57e8a.zip |
Fix style issues.
-rw-r--r-- | src/game.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/debugwindow.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index b90d9c293..a9e9f26ff 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -232,7 +232,7 @@ static void createGuiWindows() debugWindow->scheduleDelete(); debugWindow = nullptr; } - CREATEWIDGETV(debugWindow, DebugWindow, + CREATEWIDGETV(debugWindow, DebugWindow, "Debug"); CREATEWIDGETV(itemShortcutWindow, ShortcutWindow, "ItemShortcut", "items.xml", 83, 460); diff --git a/src/gui/windows/debugwindow.h b/src/gui/windows/debugwindow.h index 3e13352fc..6350b8820 100644 --- a/src/gui/windows/debugwindow.h +++ b/src/gui/windows/debugwindow.h @@ -41,7 +41,7 @@ class DebugWindow final : public Window /** * Constructor. */ - DebugWindow(const std::string &name); + explicit DebugWindow(const std::string &name); A_DELETE_COPY(DebugWindow) |