remove superflous inline keywords
This commit is contained in:
parent
b115764d9c
commit
8d6d7d1f20
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Copyright (c) 2014, Project OSRM, Dennis Luxen, others
|
Copyright (c) 2015, Project OSRM, Dennis Luxen, others
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
@ -108,19 +108,19 @@ struct InputRestrictionContainer
|
|||||||
struct CmpRestrictionContainerByFrom
|
struct CmpRestrictionContainerByFrom
|
||||||
{
|
{
|
||||||
typedef InputRestrictionContainer value_type;
|
typedef InputRestrictionContainer value_type;
|
||||||
inline bool operator()(const InputRestrictionContainer &a,
|
bool operator()(const InputRestrictionContainer &a,
|
||||||
const InputRestrictionContainer &b) const
|
const InputRestrictionContainer &b) const
|
||||||
{
|
{
|
||||||
return a.restriction.from.way < b.restriction.from.way;
|
return a.restriction.from.way < b.restriction.from.way;
|
||||||
}
|
}
|
||||||
inline value_type max_value() const { return InputRestrictionContainer::max_value(); }
|
value_type max_value() const { return InputRestrictionContainer::max_value(); }
|
||||||
inline value_type min_value() const { return InputRestrictionContainer::min_value(); }
|
value_type min_value() const { return InputRestrictionContainer::min_value(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CmpRestrictionContainerByTo
|
struct CmpRestrictionContainerByTo
|
||||||
{
|
{
|
||||||
typedef InputRestrictionContainer value_type;
|
typedef InputRestrictionContainer value_type;
|
||||||
inline bool operator()(const InputRestrictionContainer &a,
|
bool operator()(const InputRestrictionContainer &a,
|
||||||
const InputRestrictionContainer &b) const
|
const InputRestrictionContainer &b) const
|
||||||
{
|
{
|
||||||
return a.restriction.to.way < b.restriction.to.way;
|
return a.restriction.to.way < b.restriction.to.way;
|
||||||
|
Loading…
Reference in New Issue
Block a user