better portability

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2005-03-15 21:36:59 +00:00
commit 7285eb6667

View file

@ -26,7 +26,7 @@ struct A
{ return get(0); }
virtual const std::string& get(int n) const
{ return m_strings.at(n); }
{ return m_strings[n]; }
std::vector<std::string> m_strings;
};