diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-08 10:22:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-04-08 10:22:52 +0200 |
commit | be4e2595d69ce6147668f22a2d9b7d263cbcbd25 (patch) | |
tree | 72d6d5a996dd966659de06cecefb4e9e93b6cebf /tests/cxx/hybrid | |
parent | 2c4652262c256ec99d1dcbff77038f561fb1b738 (diff) |
Get rid of warnings
Diffstat (limited to 'tests/cxx/hybrid')
-rw-r--r-- | tests/cxx/hybrid/makefile | 2 | ||||
-rw-r--r-- | tests/cxx/hybrid/sequences/driver.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cxx/hybrid/makefile b/tests/cxx/hybrid/makefile index 27fab94..2de069f 100644 --- a/tests/cxx/hybrid/makefile +++ b/tests/cxx/hybrid/makefile @@ -7,7 +7,7 @@ include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make tests := sequences -ifeq ($(xsde_polymorphism),y) +ifeq ($(xsde_polymorphic),y) tests += polymorphism endif diff --git a/tests/cxx/hybrid/sequences/driver.cxx b/tests/cxx/hybrid/sequences/driver.cxx index 45993be..441e73b 100644 --- a/tests/cxx/hybrid/sequences/driver.cxx +++ b/tests/cxx/hybrid/sequences/driver.cxx @@ -372,7 +372,7 @@ main () s.push_back_copy ("bbb"); s.push_back_copy ("ccc"); delete[] s.detach (s.begin () + 1); - s.attach (s.begin () + 1, strdupc ("bbb")); + s.attach (s.begin () + 1, strdupx ("bbb")); assert (s[0] == string ("aaa") && s[1] == string ("bbb") && s[2] == string ("ccc")); |