]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/vector.h
fixed incorrect use of wxVector<> in wxXRC
[wxWidgets.git] / 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;