diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-01 18:05:57 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-01 18:05:57 (GMT) |
commit | ff50bb9f77199a14735a6a4778f667ecf153c7af (patch) | |
tree | 443e8627d2e0ae0c5f9cdafb03e5c92c358825d9 /Source/cmSystemTools.cxx | |
parent | 98dc57c0aed5507648defe98665d0954a585fbe5 (diff) | |
download | CMake-ff50bb9f77199a14735a6a4778f667ecf153c7af.zip CMake-ff50bb9f77199a14735a6a4778f667ecf153c7af.tar.gz CMake-ff50bb9f77199a14735a6a4778f667ecf153c7af.tar.bz2 |
BUG: Even more VS8 issues
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index abe3ed6..3da646e 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1322,6 +1322,10 @@ std::string cmSystemTools::MakeXMLSafe(const char* str) } } } + if ( result.size() == 0 ) + { + return ""; + } return std::string(&*result.begin(), result.size()); } |