summaryrefslogtreecommitdiff
path: root/src/lib/dcpomatic_socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dcpomatic_socket.h')
-rw-r--r--src/lib/dcpomatic_socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h
index f4520e5cf..35c94660b 100644
--- a/src/lib/dcpomatic_socket.h
+++ b/src/lib/dcpomatic_socket.h
@@ -53,7 +53,7 @@ public:
class ReadDigestScope
{
public:
- ReadDigestScope (std::shared_ptr<Socket> socket);
+ explicit ReadDigestScope (std::shared_ptr<Socket> socket);
bool check ();
private:
std::weak_ptr<Socket> _socket;
@@ -66,7 +66,7 @@ public:
class WriteDigestScope
{
public:
- WriteDigestScope (std::shared_ptr<Socket> socket);
+ explicit WriteDigestScope (std::shared_ptr<Socket> socket);
~WriteDigestScope ();
private:
std::weak_ptr<Socket> _socket;