aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/handler.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-07-26 17:15:32 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-07-26 17:15:32 +0200
commit1ac3c983bfe06f75542e4f4e30142952802a46d8 (patch)
treec468d61002a392a694c7e2f1eed14a62a77cc63e /src/interfaces/handler.cpp
parent415f2bff69985a9238d75f380db4c26dda47ca53 (diff)
Mark single-argument constructors "explicit"
Diffstat (limited to 'src/interfaces/handler.cpp')
-rw-r--r--src/interfaces/handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/handler.cpp b/src/interfaces/handler.cpp
index 80f461f4d3..ddf9b342d8 100644
--- a/src/interfaces/handler.cpp
+++ b/src/interfaces/handler.cpp
@@ -15,7 +15,7 @@ namespace {
class HandlerImpl : public Handler
{
public:
- HandlerImpl(boost::signals2::connection connection) : m_connection(std::move(connection)) {}
+ explicit HandlerImpl(boost::signals2::connection connection) : m_connection(std::move(connection)) {}
void disconnect() override { m_connection.disconnect(); }