remove redundant copy ctor from snowflake

This commit is contained in:
ouwou
2020-09-10 23:58:20 -04:00
parent b9fb7c536a
commit d6ed75c339
2 changed files with 0 additions and 3 deletions

View File

@@ -3,8 +3,6 @@
Snowflake::Snowflake()
: m_num(Invalid) {}
Snowflake::Snowflake(const Snowflake &s)
: m_num(s.m_num) {}
Snowflake::Snowflake(uint64_t n)
: m_num(n) {}

View File

@@ -4,7 +4,6 @@
struct Snowflake {
Snowflake();
Snowflake(const Snowflake &s);
Snowflake(uint64_t n);
Snowflake(const std::string &str);