fix for old STL std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8f5e757867
commit
f0cb509b70
1 changed files with 3 additions and 2 deletions
|
|
@ -18,8 +18,9 @@ if lib_std_string.test_const_reference(x) != x:
|
|||
|
||||
|
||||
s = lib_std_string.string("he")
|
||||
s += "ll"
|
||||
s.append('o')
|
||||
#s += "ll"
|
||||
#s.append('o')
|
||||
s += "llo"
|
||||
|
||||
if s != x:
|
||||
print s, x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue