From e886a6698ec8d1220bba8a287fffa19db586be9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Fischer?= Date: Thu, 28 Nov 2019 14:45:43 +0100 Subject: [PATCH] fix non explicit constructor --- src/colnod/colnodapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/colnod/colnodapi.h b/src/colnod/colnodapi.h index 76c7bec..68ed360 100644 --- a/src/colnod/colnodapi.h +++ b/src/colnod/colnodapi.h @@ -24,7 +24,7 @@ class Timestamp : public serversdk::DatabaseTable { TABLE_PROPERTY(qint64, timestamp, set_timestamp, 0) public: Timestamp() = default; - Timestamp(const Timestamp &time) + explicit Timestamp(const Timestamp &time) { this->set_timestamp(time.timestamp()); }