std::vector parameter name changes so that these parameters can be individually singled out with typemaps

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-06-25 21:30:13 +00:00
commit 176984f338
3 changed files with 8 additions and 4 deletions

View file

@ -37,7 +37,7 @@ namespace std {
else
throw std::out_of_range("vector index out of range");
}
void set(int i, const value_type& x) throw (std::out_of_range) {
void set(int i, const value_type& val) throw (std::out_of_range) {
int size = int(self->size());
if (i>=0 && i<size)
(*self)[i] = x;