From: g0dil Date: Mon, 16 Oct 2006 07:59:13 +0000 (+0000) Subject: Fix test case for g++-4 X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=839fb5fb28aa2f5fde157ace7790edfaa6e00de6;p=senf.git Fix test case for g++-4 git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@140 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc index 699fd12..ac73a7e 100644 --- a/Utils/TypeInfo.test.cc +++ b/Utils/TypeInfo.test.cc @@ -40,7 +40,7 @@ namespace test { virtual ~Base() {} }; - template + template struct Foo : public Base {}; @@ -51,11 +51,10 @@ BOOST_AUTO_UNIT_TEST(prettyName) { typedef test::Foo< test::Foo, 10> TestType; TestType ob; - // test::Base const & baseOb(ob); + test::Base const & baseOb(ob); BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(int)), "int"); - // The exact representation is compiler version dependent ... - // BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(baseOb)), "test::Foo, 10>" ); + BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(baseOb)), "test::Foo, 10>" ); } ///////////////////////////////cc.e////////////////////////////////////////