X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FTypeInfo.test.cc;h=ac73a7eb942a2bc2134a9f8eedc359dc1a5016b7;hb=be850b3a668390421f62baf542c2a7b7e984386f;hp=699fd126861cb5d53de75a75edd1e04b3d85bc31;hpb=1806298d27b59847c61931d2bd44932589a782ab;p=senf.git 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////////////////////////////////////////