summaryrefslogtreecommitdiff
path: root/src/pathfinder/yapf/nodelist.hpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-01-16 14:22:19 +0000
committerfrosch <frosch@openttd.org>2010-01-16 14:22:19 +0000
commit6465f02fba984e169c904cccf89fd1417ee2f45b (patch)
tree1708196e69bfc12f14fe47743e26be39c5c1ae65 /src/pathfinder/yapf/nodelist.hpp
parent84ece021fde4850b4755b81bb6886ffced6b7020 (diff)
downloadopenttd-6465f02fba984e169c904cccf89fd1417ee2f45b.tar.xz
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
Diffstat (limited to 'src/pathfinder/yapf/nodelist.hpp')
-rw-r--r--src/pathfinder/yapf/nodelist.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfinder/yapf/nodelist.hpp b/src/pathfinder/yapf/nodelist.hpp
index 3e24e9733..75b459a54 100644
--- a/src/pathfinder/yapf/nodelist.hpp
+++ b/src/pathfinder/yapf/nodelist.hpp
@@ -74,7 +74,7 @@ public:
/** allocate new data item from m_arr */
FORCEINLINE Titem_ *CreateNewNode()
{
- if (m_new_node == NULL) m_new_node = &m_arr.AppendC();
+ if (m_new_node == NULL) m_new_node = m_arr.AppendC();
return m_new_node;
}