mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Merge pull request #651 from snizovtsev/develop
lib: fix CPathfinder build error on GCC 10.2
This commit is contained in:
commit
a54626459d
@ -149,22 +149,13 @@ struct DLL_LINKAGE CGPathNode
|
|||||||
return turns < 255;
|
return turns < 255;
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::heap::detail::node_handle
|
typedef boost::heap::fibonacci_heap<
|
||||||
<
|
CGPathNode *,
|
||||||
boost::heap::detail::marked_heap_node<CGPathNode *>*,
|
boost::heap::compare<NodeComparer<CGPathNode>>
|
||||||
boost::heap::detail::make_fibonacci_heap_base
|
> TFibHeap;
|
||||||
<
|
|
||||||
CGPathNode *,
|
|
||||||
boost::parameter::aux::arg_list
|
|
||||||
<
|
|
||||||
boost::heap::compare<NodeComparer<CGPathNode>>,
|
|
||||||
boost::parameter::aux::empty_arg_list
|
|
||||||
>
|
|
||||||
>::type,
|
|
||||||
CGPathNode *&
|
|
||||||
> pqHandle;
|
|
||||||
|
|
||||||
boost::heap::fibonacci_heap< CGPathNode *, boost::heap::compare<NodeComparer<CGPathNode>> >* pq;
|
TFibHeap::handle_type pqHandle;
|
||||||
|
TFibHeap* pq;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float cost; //total cost of the path to this tile measured in turns with fractions
|
float cost; //total cost of the path to this tile measured in turns with fractions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user