BUG: Even more VS8 issues

This commit is contained in:
Andy Cedilnik 2006-03-01 13:05:57 -05:00
parent 98dc57c0ae
commit ff50bb9f77
1 changed files with 4 additions and 0 deletions

View File

@ -1322,6 +1322,10 @@ std::string cmSystemTools::MakeXMLSafe(const char* str)
}
}
}
if ( result.size() == 0 )
{
return "";
}
return std::string(&*result.begin(), result.size());
}