From c406bd63ff3bb9b86cc7837bbb2aa1f6434c7651 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 7 Feb 2009 22:09:22 +0000 Subject: [PATCH] fix Insert(iterator, T) in STL build [backport of r57290 from trunk] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@58729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/list.h b/include/wx/list.h index edaa81b7a4..a62d9a4436 100644 --- a/include/wx/list.h +++ b/include/wx/list.h @@ -296,7 +296,7 @@ private: push_front( e ); \ return compatibility_iterator( this, begin() ); \ } \ - compatibility_iterator Insert( compatibility_iterator & i, elT e ) \ + compatibility_iterator Insert(const compatibility_iterator &i, elT e) \ { \ return compatibility_iterator( this, insert( i.m_iter, e ) ); \ } \