summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-01 20:10:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-01 20:18:21 +0300
commitcd74e15feb10f8e4cb3d6aa4b72b4b94b39b4164 (patch)
tree18bf500d2e4ae688bfa03e174f2efa143f4c8fad /src
parent2939e076b9901b3752d0b961c2dc83d9a632a004 (diff)
downloadplus-cd74e15feb10f8e4cb3d6aa4b72b4b94b39b4164.tar.gz
plus-cd74e15feb10f8e4cb3d6aa4b72b4b94b39b4164.tar.bz2
plus-cd74e15feb10f8e4cb3d6aa4b72b4b94b39b4164.tar.xz
plus-cd74e15feb10f8e4cb3d6aa4b72b4b94b39b4164.zip
fix code style.
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)