From 4b9e9cd651231a713a03212d75a2c684d8b3b036 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 28 Dec 2016 12:52:31 +0000 Subject: [PATCH] Fixed GCC warnings --- src/imultimap.h | 4 ++-- src/imultiset.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/imultimap.h b/src/imultimap.h index f88fd25b..5291177c 100644 --- a/src/imultimap.h +++ b/src/imultimap.h @@ -675,7 +675,7 @@ namespace etl ///\param position The position that would precede the value to insert. ///\param value The value to insert. //********************************************************************* - iterator insert(iterator position, const value_type& value) + iterator insert(iterator /*position*/, const value_type& value) { // Ignore position provided and just do a normal insert return insert(value); @@ -687,7 +687,7 @@ namespace etl ///\param position The position that would precede the value to insert. ///\param value The value to insert. //********************************************************************* - iterator insert(const_iterator position, const value_type& value) + iterator insert(const_iterator /*position*/, const value_type& value) { // Ignore position provided and just do a normal insert return insert(value); diff --git a/src/imultiset.h b/src/imultiset.h index 9f36182c..c0c96840 100644 --- a/src/imultiset.h +++ b/src/imultiset.h @@ -656,7 +656,7 @@ namespace etl ///\param position The position that would precede the value to insert. ///\param value The value to insert. //********************************************************************* - iterator insert(iterator position, const value_type& value) + iterator insert(iterator /*position*/, const value_type& value) { // Ignore position provided and just do a normal insert return insert(value); @@ -668,7 +668,7 @@ namespace etl ///\param position The position that would precede the value to insert. ///\param value The value to insert. //********************************************************************* - iterator insert(const_iterator position, const value_type& value) + iterator insert(const_iterator /*position*/, const value_type& value) { // Ignore position provided and just do a normal insert return insert(value);