summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-07 03:08:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-07 03:08:30 +0300
commit4fea23077f9354897c2eb594320f698e6fe57e8a (patch)
tree1c5a7c5fb2cc8a41019df3f76b04a90fe7e33661 /src
parent3e0bce53e2b3387801f3e0484f01a64d767115da (diff)
downloadmv-4fea23077f9354897c2eb594320f698e6fe57e8a.tar.gz
mv-4fea23077f9354897c2eb594320f698e6fe57e8a.tar.bz2
mv-4fea23077f9354897c2eb594320f698e6fe57e8a.tar.xz
mv-4fea23077f9354897c2eb594320f698e6fe57e8a.zip
Fix style issues.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
-rw-r--r--src/gui/windows/debugwindow.h2
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)