Changeset - r11064:0468f0a12303
[Not reviewed]
master
0 1 0
michi_cc - 15 years ago 2009-02-08 01:10:48
michi_cc@openttd.org
(svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/yapf/yapf_node.hpp
Show inline comments
 
@@ -58,14 +58,14 @@ struct CYapfNodeT {
 

	
 
	FORCEINLINE Node *GetHashNext() {return m_hash_next;}
 
	FORCEINLINE void SetHashNext(Node *pNext) {m_hash_next = pNext;}
 
	FORCEINLINE TileIndex GetTile() const {return m_key.m_tile;}
 
	FORCEINLINE Trackdir GetTrackdir() const {return m_key.m_td;}
 
	FORCEINLINE const Tkey_& GetKey() const {return m_key;}
 
	FORCEINLINE int GetCost() {return m_cost;}
 
	FORCEINLINE int GetCostEstimate() {return m_estimate;}
 
	FORCEINLINE int GetCost() const {return m_cost;}
 
	FORCEINLINE int GetCostEstimate() const {return m_estimate;}
 
	FORCEINLINE bool operator < (const Node& other) const {return m_estimate < other.m_estimate;}
 

	
 
	void Dump(DumpTarget &dmp) const
 
	{
 
		dmp.WriteStructT("m_key", &m_key);
 
		dmp.WriteStructT("m_parent", m_parent);
0 comments (0 inline, 0 general)