diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc index 699fd126861cb5d53de75a75edd1e04b3d85bc31..ac73a7eb942a2bc2134a9f8eedc359dc1a5016b7 100644 --- a/Utils/TypeInfo.test.cc +++ b/Utils/TypeInfo.test.cc @@ -40,7 +40,7 @@ namespace test { virtual ~Base() {} }; - template <class C, unsigned N> + template <class C, int N> struct Foo : public Base {}; @@ -51,11 +51,10 @@ BOOST_AUTO_UNIT_TEST(prettyName) { typedef test::Foo< test::Foo<test::Blub, 1>, 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<test::Foo<test::Blub, 1>, 10>" ); + BOOST_CHECK_EQUAL( satcom::lib::prettyName(typeid(baseOb)), "test::Foo<test::Foo<test::Blub, 1>, 10>" ); } ///////////////////////////////cc.e////////////////////////////////////////