diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2021-04-02 21:08:16 +0100 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2021-04-04 08:01:54 +0100 |
commit | f481c9fc2c68ff7b83eef78d3e37982492dae981 (patch) | |
tree | 922b22de6b2e48716c763b19dcc3177e1c8f1b47 /src/pathfinder/yapf/yapf_node.hpp | |
parent | 33c5f984f533bc101f4a92130a2b56432d5dcc08 (diff) | |
download | openttd-f481c9fc2c68ff7b83eef78d3e37982492dae981.tar.xz |
Codechange: Replace CStrA with std::string
Diffstat (limited to 'src/pathfinder/yapf/yapf_node.hpp')
-rw-r--r-- | src/pathfinder/yapf/yapf_node.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/yapf/yapf_node.hpp b/src/pathfinder/yapf/yapf_node.hpp index 689a8e975..ce4ba3b28 100644 --- a/src/pathfinder/yapf/yapf_node.hpp +++ b/src/pathfinder/yapf/yapf_node.hpp @@ -126,8 +126,8 @@ struct CYapfNodeT { { dmp.WriteStructT("m_key", &m_key); dmp.WriteStructT("m_parent", m_parent); - dmp.WriteLine("m_cost = %d", m_cost); - dmp.WriteLine("m_estimate = %d", m_estimate); + dmp.WriteValue("m_cost", m_cost); + dmp.WriteValue("m_estimate", m_estimate); } }; |