From be4e2595d69ce6147668f22a2d9b7d263cbcbd25 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Apr 2009 10:22:52 +0200 Subject: Get rid of warnings --- tests/cxx/hybrid/makefile | 2 +- tests/cxx/hybrid/sequences/driver.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/cxx/hybrid') 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")); -- cgit v1.1