mirror of https://github.com/OpenTTD/OpenTTD
Cleanup: remove unused copy-constructor without copy-assignment
parent
6fe4d4ad7b
commit
9197de39e4
|
@ -106,12 +106,6 @@ struct DumpTarget {
|
||||||
, m_ptr(ptr)
|
, 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
|
bool operator<(const KnownStructKey &other) const
|
||||||
{
|
{
|
||||||
if ((size_t)m_ptr < (size_t)other.m_ptr) return true;
|
if ((size_t)m_ptr < (size_t)other.m_ptr) return true;
|
||||||
|
|
|
@ -15,8 +15,6 @@ struct CYapfRailSegmentKey
|
||||||
{
|
{
|
||||||
uint32 m_value;
|
uint32 m_value;
|
||||||
|
|
||||||
inline CYapfRailSegmentKey(const CYapfRailSegmentKey &src) : m_value(src.m_value) {}
|
|
||||||
|
|
||||||
inline CYapfRailSegmentKey(const CYapfNodeKeyTrackDir &node_key)
|
inline CYapfRailSegmentKey(const CYapfNodeKeyTrackDir &node_key)
|
||||||
{
|
{
|
||||||
Set(node_key);
|
Set(node_key);
|
||||||
|
|
Loading…
Reference in New Issue