From 8d6d7d1f200bb8941b3e90ce3693bb5e3affc6f5 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Fri, 16 Jan 2015 11:27:46 +0100 Subject: [PATCH] remove superflous inline keywords --- data_structures/restriction.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data_structures/restriction.hpp b/data_structures/restriction.hpp index 5f6e9b0f5..ed38dc639 100644 --- a/data_structures/restriction.hpp +++ b/data_structures/restriction.hpp @@ -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;