Change parameters to CYapfBaseT::CreateNewNode
commit75c0d0769e25cdedf8f09376df39087e0be38040
authorcirdan <cirdansw@gmail.com>
Sat, 18 Jan 2014 11:46:13 +0000 (18 12:46 +0100)
committercirdan <cirdansw@gmail.com>
Sat, 18 Jan 2014 11:46:13 +0000 (18 12:46 +0100)
tree844eff61946e485660a5a670da67a11ceb892749
parentfe76bfc31f21cd37bbb1ff8850d2ddb9a9d0e384
Change parameters to CYapfBaseT::CreateNewNode

CYapfBaseT::CreateNewNode creates a new node to be used in the
pathfinder, but all of its users immediately call Set on the
returned node to initialise it. Make CYapfBaseT::CreateNewNode
call Node::Set itself on the new node, to make things simpler
for its callers.
src/pathfinder/yapf/yapf_base.hpp
src/pathfinder/yapf/yapf_common.hpp