summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-05-26 21:47:13 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-05-27 18:30:56 +0200
commit9197de39e4bf4c17ba6da82c2ed1b858603a443a (patch)
tree59aa2a80680e0fa26e7a9dd2e09fce419b443a8d /src/misc
parent6fe4d4ad7b055393ed04d11c58bc330c539aa31e (diff)
downloadopenttd-9197de39e4bf4c17ba6da82c2ed1b858603a443a.tar.xz
Cleanup: remove unused copy-constructor without copy-assignment
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/dbg_helpers.h6
1 files changed, 0 insertions, 6 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;