remove superflous inline keywords

This commit is contained in:
Dennis Luxen 2015-01-16 11:27:46 +01:00
parent b115764d9c
commit 8d6d7d1f20

View File

@ -1,6 +1,6 @@
/*
Copyright (c) 2014, Project OSRM, Dennis Luxen, others
Copyright (c) 2015, Project OSRM, Dennis Luxen, others
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
@ -108,19 +108,19 @@ struct InputRestrictionContainer
struct CmpRestrictionContainerByFrom
{
typedef InputRestrictionContainer value_type;
inline bool operator()(const InputRestrictionContainer &a,
bool operator()(const InputRestrictionContainer &a,
const InputRestrictionContainer &b) const
{
return a.restriction.from.way < b.restriction.from.way;
}
inline value_type max_value() const { return InputRestrictionContainer::max_value(); }
inline value_type min_value() const { return InputRestrictionContainer::min_value(); }
value_type max_value() const { return InputRestrictionContainer::max_value(); }
value_type min_value() const { return InputRestrictionContainer::min_value(); }
};
struct CmpRestrictionContainerByTo
{
typedef InputRestrictionContainer value_type;
inline bool operator()(const InputRestrictionContainer &a,
bool operator()(const InputRestrictionContainer &a,
const InputRestrictionContainer &b) const
{
return a.restriction.to.way < b.restriction.to.way;