From 0688b953075d50eb52adba1383f212934c638dcb Mon Sep 17 00:00:00 2001
From: g0dil <g0dil@wiback.org>
Date: Mon, 16 Oct 2006 07:59:13 +0000
Subject: [PATCH] Fix test case for g++-4

---
 Utils/TypeInfo.test.cc | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/Utils/TypeInfo.test.cc b/Utils/TypeInfo.test.cc
index 699fd1268..ac73a7eb9 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////////////////////////////////////////
-- 
GitLab