diff options
author | rubidium42 <rubidium@openttd.org> | 2021-05-26 21:47:13 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-05-27 18:30:56 +0200 |
commit | 9197de39e4bf4c17ba6da82c2ed1b858603a443a (patch) | |
tree | 59aa2a80680e0fa26e7a9dd2e09fce419b443a8d | |
parent | 6fe4d4ad7b055393ed04d11c58bc330c539aa31e (diff) | |
download | openttd-9197de39e4bf4c17ba6da82c2ed1b858603a443a.tar.xz |
Cleanup: remove unused copy-constructor without copy-assignment
-rw-r--r-- | src/misc/dbg_helpers.h | 6 | ||||
-rw-r--r-- | src/pathfinder/yapf/yapf_node_rail.hpp | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h index f9d251b8a..53033110d 100644 --- a/src/misc/dbg_helpers.h +++ b/src/misc/dbg_helpers.h @@ -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; diff --git a/src/pathfinder/yapf/yapf_node_rail.hpp b/src/pathfinder/yapf/yapf_node_rail.hpp index df369fcdd..9d33ab7a7 100644 --- a/src/pathfinder/yapf/yapf_node_rail.hpp +++ b/src/pathfinder/yapf/yapf_node_rail.hpp @@ -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); |