Merge branch 'clang_fixes' of github.com:marvingreenberg/swig into marvingreenberg-clang_fixes

This commit is contained in:
William S Fulton 2014-02-15 22:37:40 +00:00
commit 078dbf8d22
18 changed files with 182 additions and 21 deletions

View file

@ -217,7 +217,7 @@
else
throw std::out_of_range("index");
}
const_reference getitem(int index) throw (std::out_of_range) {
CONST_REFERENCE getitem(int index) throw (std::out_of_range) {
if (index>=0 && index<(int)$self->size())
return (*$self)[index];
else