summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)