Minor cleanup.

This commit is contained in:
Shyotl
2014-08-07 01:57:11 -05:00
parent f82d12d381
commit 398d8c52a2
6 changed files with 9 additions and 17 deletions

View File

@@ -239,7 +239,7 @@ inline typename T::mapped_type get_ptr_in_map(const T& inmap, typename T::key_ty
//
//Singu note: This has been generalized to support a broader range of sequence containers
template <typename T>
inline typename T::iterator vector_replace_with_last(T& invec, typename T::iterator& iter)
inline typename T::iterator vector_replace_with_last(T& invec, typename T::iterator iter)
{
typename T::iterator last = invec.end();
if (iter == invec.end())