diff --git a/tests/events/clone.cpp b/tests/events/clone.cpp index 450294f966..23998fb587 100644 --- a/tests/events/clone.cpp +++ b/tests/events/clone.cpp @@ -61,7 +61,8 @@ void EventCloneTestCase::CheckAll() continue; const std::string - msg = std::string("Event class \"") + ci->GetClassName() + "\""; + msg = std::string("Event class \"") + + std::string(ci->GetClassName().c_str()) + "\""; CPPUNIT_ASSERT_MESSAGE( msg, ci->IsDynamic() );