mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-13 20:18:50 +03:00
remove redundant copy ctor from snowflake
This commit is contained in:
@@ -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) {}
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
|
||||
struct Snowflake {
|
||||
Snowflake();
|
||||
Snowflake(const Snowflake &s);
|
||||
Snowflake(uint64_t n);
|
||||
Snowflake(const std::string &str);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user