mirror of https://github.com/OpenTTD/OpenTTD
(svn r15404) -Cleanup [YAPF]: A tiny bit of const correctness.
parent
088d5bb2ed
commit
8bd5f10a2c
|
@ -61,8 +61,8 @@ struct CYapfNodeT {
|
||||||
FORCEINLINE TileIndex GetTile() const {return m_key.m_tile;}
|
FORCEINLINE TileIndex GetTile() const {return m_key.m_tile;}
|
||||||
FORCEINLINE Trackdir GetTrackdir() const {return m_key.m_td;}
|
FORCEINLINE Trackdir GetTrackdir() const {return m_key.m_td;}
|
||||||
FORCEINLINE const Tkey_& GetKey() const {return m_key;}
|
FORCEINLINE const Tkey_& GetKey() const {return m_key;}
|
||||||
FORCEINLINE int GetCost() {return m_cost;}
|
FORCEINLINE int GetCost() const {return m_cost;}
|
||||||
FORCEINLINE int GetCostEstimate() {return m_estimate;}
|
FORCEINLINE int GetCostEstimate() const {return m_estimate;}
|
||||||
FORCEINLINE bool operator < (const Node& other) const {return m_estimate < other.m_estimate;}
|
FORCEINLINE bool operator < (const Node& other) const {return m_estimate < other.m_estimate;}
|
||||||
|
|
||||||
void Dump(DumpTarget &dmp) const
|
void Dump(DumpTarget &dmp) const
|
||||||
|
|
Loading…
Reference in New Issue