refs #403 fix return type in CCollection::insert

This commit is contained in:
Roland Winklmeier
2015-04-10 21:48:27 +02:00
parent 64cd22b3a3
commit e4e9d88af8

View File

@@ -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.