aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ClientObject.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/ClientObject.hpp b/src/client/ClientObject.hpp
index 557e23a..4ad2e0e 100644
--- a/src/client/ClientObject.hpp
+++ b/src/client/ClientObject.hpp
@@ -31,7 +31,7 @@ namespace client {
class ClientObject
{
public:
- ClientObject(uint64_t id);
+ explicit ClientObject(uint64_t id);
ClientObject(const ClientObject& copy, uint64_t id);
inline uint64_t id() const { return _id; }
@@ -63,7 +63,7 @@ private:
/** Stub client object to use as a search key. */
struct ClientObjectKey : public ClientObject
{
- ClientObjectKey(uint64_t id) : ClientObject(id) {}
+ explicit ClientObjectKey(uint64_t id) : ClientObject(id) {}
};
}