fix non explicit constructor

This commit is contained in:
Ondřej Fischer 2019-11-28 14:45:43 +01:00
parent 098bc7fda8
commit e886a6698e

View File

@ -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());
}