From e4e9d88af8c376e5be95e42c868d1e38e531068c Mon Sep 17 00:00:00 2001 From: Roland Winklmeier Date: Fri, 10 Apr 2015 21:48:27 +0200 Subject: [PATCH] refs #403 fix return type in CCollection::insert --- src/blackmisc/collection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackmisc/collection.h b/src/blackmisc/collection.h index 55b9fd290..109f8e696 100644 --- a/src/blackmisc/collection.h +++ b/src/blackmisc/collection.h @@ -196,7 +196,7 @@ namespace BlackMisc * \param value The value to move in. * \pre The collection must be initialized. */ - iterator insert(const_iterator hint, T &&value) { insert(std::move(value)); Q_UNUSED(hint); } + iterator insert(const_iterator hint, T &&value) { Q_UNUSED(hint); return insert(std::move(value)); } /*! * \brief Inserts an element into the collection.