From a90452b2ef0c9366118ae1be78d798a0198ae363 Mon Sep 17 00:00:00 2001 From: "Steve M. Robbins" Date: Fri, 6 Jul 2001 00:31:25 +0000 Subject: Change from CPPUNIT_USE_TYPEINFO to CPPUNIT_USE_TYPEINFO_NAME --- src/cppunit/TestCase.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cppunit/TestCase.cpp') diff --git a/src/cppunit/TestCase.cpp b/src/cppunit/TestCase.cpp index 7c7c8ae..f330044 100644 --- a/src/cppunit/TestCase.cpp +++ b/src/cppunit/TestCase.cpp @@ -122,12 +122,12 @@ std::string { std::string className; -#if CPPUNIT_USE_TYPEINFO +#if CPPUNIT_USE_TYPEINFO_NAME const std::type_info& thisClass = typeid (*this); className = thisClass.name(); #else className = "TestCase"; -#endif // CPPUNIT_USE_TYPEINFO +#endif return className + "." + getName (); } -- cgit v1.2.1