Changeset - r25523:29562bbe8feb
[Not reviewed]
master
0 2 0
rubidium42 - 3 years ago 2021-05-26 19:47:13
rubidium@openttd.org
Cleanup: remove unused copy-constructor without copy-assignment
2 files changed with 0 insertions and 8 deletions:
0 comments (0 inline, 0 general)
src/misc/dbg_helpers.h
Show inline comments
 
@@ -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;
src/pathfinder/yapf/yapf_node_rail.hpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)