summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/paths.cpp2
-rw-r--r--src/gui/windows/chatwindow.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp
index 46eae158e..b53736024 100644
--- a/src/fs/paths.cpp
+++ b/src/fs/paths.cpp
@@ -33,9 +33,9 @@
#ifdef USE_X11
#include "fs/files.h"
-#endif // USE_X11
#include "utils/foreach.h"
+#endif // USE_X11
#ifdef __native_client__
#include <limits.h>
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index 2961af9a1..9664bc0ae 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -64,7 +64,7 @@ class ChatWindow final : public Window,
/**
* Constructor.
*/
- ChatWindow(const std::string &name);
+ explicit ChatWindow(const std::string &name);
A_DELETE_COPY(ChatWindow)