better portability
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e98b844a34
commit
151658c377
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ struct A
|
||||||
{ return get(0); }
|
{ return get(0); }
|
||||||
|
|
||||||
virtual const std::string& get(int n) const
|
virtual const std::string& get(int n) const
|
||||||
{ return m_strings.at(n); }
|
{ return m_strings[n]; }
|
||||||
|
|
||||||
std::vector<std::string> m_strings;
|
std::vector<std::string> m_strings;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue