Codechange: coding style fixes

This commit is contained in:
Rubidium
2024-01-03 22:33:38 +01:00
committed by rubidium42
parent 0075364c89
commit e3f49ee7a0
59 changed files with 121 additions and 121 deletions

View File

@@ -63,7 +63,7 @@ protected:
LocalCache m_local_cache;
/** to access inherited path finder */
inline Tpf& Yapf()
inline Tpf &Yapf()
{
return *static_cast<Tpf *>(this);
}
@@ -138,7 +138,7 @@ struct CSegmentCostCacheT : public CSegmentCostCacheBase {
m_heap.Clear();
}
inline Tsegment& Get(Key &key, bool *found)
inline Tsegment &Get(Key &key, bool *found)
{
Tsegment *item = m_map.Find(key);
if (item == nullptr) {
@@ -174,12 +174,12 @@ protected:
inline CYapfSegmentCostCacheGlobalT() : m_global_cache(stGetGlobalCache()) {};
/** to access inherited path finder */
inline Tpf& Yapf()
inline Tpf &Yapf()
{
return *static_cast<Tpf *>(this);
}
inline static Cache& stGetGlobalCache()
inline static Cache &stGetGlobalCache()
{
static int last_rail_change_counter = 0;
static Cache C;