From 8534bf739922b02f799fd220777982c0554739fd Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Fri, 28 Aug 2015 20:26:32 +0100 Subject: [PATCH] Fixed comments Made iterators const in 'count()' Fixed trailing guard macro --- iflat_multimap.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/iflat_multimap.h b/iflat_multimap.h index 117b4cc0..1bb53583 100644 --- a/iflat_multimap.h +++ b/iflat_multimap.h @@ -275,8 +275,8 @@ namespace etl } //********************************************************************* - /// Inserts a value to the flat_set. - /// If ETL_THROW_EXCEPTIONS is defined, emits flat_set_full if the flat_set is already full. + /// Inserts a value to the flast_multi. + /// If ETL_THROW_EXCEPTIONS is defined, emits flat_map_full if the flat_map is already full. ///\param position The position to insert at. ///\param value The value to insert. //********************************************************************* @@ -378,7 +378,7 @@ namespace etl //********************************************************************* size_t count(key_value_parameter_t key) const { - std::pair range = equal_range(key); + std::pair range = equal_range(key); return std::distance(range.first, range.second); } @@ -490,5 +490,5 @@ namespace etl } } -#undef __ETL_IN_Iflat_multimap_H__ +#undef __ETL_IN_IFLAT_MULTIMAP_H__ #endif