1
0
Fork 0

Cleanup: remove unused copy-constructor without copy-assignment

pull/9288/head
rubidium42 2021-05-26 21:47:13 +02:00 committed by rubidium42
parent 6fe4d4ad7b
commit 9197de39e4
2 changed files with 0 additions and 8 deletions

View File

@ -106,12 +106,6 @@ struct DumpTarget {
, m_ptr(ptr)
{}
KnownStructKey(const KnownStructKey &src)
{
m_type_id = src.m_type_id;
m_ptr = src.m_ptr;
}
bool operator<(const KnownStructKey &other) const
{
if ((size_t)m_ptr < (size_t)other.m_ptr) return true;

View File

@ -15,8 +15,6 @@ struct CYapfRailSegmentKey
{
uint32 m_value;
inline CYapfRailSegmentKey(const CYapfRailSegmentKey &src) : m_value(src.m_value) {}
inline CYapfRailSegmentKey(const CYapfNodeKeyTrackDir &node_key)
{
Set(node_key);