This commit is contained in:
Phil Nash
2013-07-01 18:45:19 +01:00
parent ba9b2b5a37
commit 066a6388d6
2 changed files with 24 additions and 1 deletions

View File

@@ -86,7 +86,8 @@ struct StringMaker :
template<typename T>
struct StringMaker<T*> {
static std::string convert( T const* p ) {
template<typename U>
static std::string convert( U* p ) {
if( !p )
return INTERNAL_CATCH_STRINGIFY( NULL );
std::ostringstream oss;