diff options
Diffstat (limited to 'src/cppunit/DefaultProtector.cpp')
| -rw-r--r-- | src/cppunit/DefaultProtector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cppunit/DefaultProtector.cpp b/src/cppunit/DefaultProtector.cpp index 6fb306b..fa6ac87 100644 --- a/src/cppunit/DefaultProtector.cpp +++ b/src/cppunit/DefaultProtector.cpp @@ -21,7 +21,7 @@ DefaultProtector::protect( const Functor &functor, catch ( std::exception &e ) { std::string shortDescription( "uncaught exception of type " ); -#if CPPUNIT_USE_TYPEINFO_NAME +#if defined(CPPUNIT_USE_TYPEINFO_NAME) shortDescription += TypeInfoHelper::getClassName( typeid(e) ); #else shortDescription += "std::exception (or derived)."; |
