Cleanup: remove unused copy-constructor without copy-assignment

pull/332/head
rubidium42 3 years ago committed by rubidium42
parent 6fe4d4ad7b
commit 9197de39e4

@ -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;

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

Loading…
Cancel
Save