diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-07-26 17:15:32 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-07-26 17:15:32 +0200 |
commit | 1ac3c983bfe06f75542e4f4e30142952802a46d8 (patch) | |
tree | c468d61002a392a694c7e2f1eed14a62a77cc63e /src/interfaces/handler.cpp | |
parent | 415f2bff69985a9238d75f380db4c26dda47ca53 (diff) |
Mark single-argument constructors "explicit"
Diffstat (limited to 'src/interfaces/handler.cpp')
-rw-r--r-- | src/interfaces/handler.cpp | 2 |
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(); } |