better portability
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2642a09e28
commit
7285eb6667
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