]> git.saurik.com Git - wxWidgets.git/commitdiff
made deprecated erase() overload inline
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Dec 2007 00:53:24 +0000 (00:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Dec 2007 00:53:24 +0000 (00:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/vector.h

index 6fc0be174a40fdbcca64f096570466fd40fca84e..2c645a0107e1d4a187a6df875c2ca8d5d3e4fd16 100644 (file)
@@ -207,7 +207,7 @@ private:
 
 #if WXWIN_COMPATIBILITY_2_8
 template<typename T>
-typename wxVector<T>::size_type wxVector<T>::erase(size_type n)
+inline typename wxVector<T>::size_type wxVector<T>::erase(size_type n)
 {
     erase(begin() + n);
     return n;