add virtual keyword to functions with override final specifiers
This commit is contained in:
parent
f67eeb66aa
commit
a81542eeee
@ -77,7 +77,7 @@ template <class DataFacadeT> class JSONDescriptor final : public BaseDescriptor<
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetConfig(const DescriptorConfig &c) override final { config = c; }
|
virtual void SetConfig(const DescriptorConfig &c) override final { config = c; }
|
||||||
|
|
||||||
unsigned DescribeLeg(const std::vector<PathData> route_leg,
|
unsigned DescribeLeg(const std::vector<PathData> route_leg,
|
||||||
const PhantomNodes &leg_phantoms,
|
const PhantomNodes &leg_phantoms,
|
||||||
@ -100,7 +100,7 @@ template <class DataFacadeT> class JSONDescriptor final : public BaseDescriptor<
|
|||||||
return added_element_count;
|
return added_element_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Run(const InternalRouteResult &raw_route, JSON::Object &json_result) override final
|
virtual void Run(const InternalRouteResult &raw_route, JSON::Object &json_result) override final
|
||||||
{
|
{
|
||||||
if (INVALID_EDGE_WEIGHT == raw_route.shortest_path_length)
|
if (INVALID_EDGE_WEIGHT == raw_route.shortest_path_length)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user