summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/Directory.cxx
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-06 18:02:13 (GMT)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2006-03-06 18:02:13 (GMT)
commit73e1d9abd93c605f17e237137ac022700b1c0859 (patch)
tree79de9fb745ce380c1f13ee4d4f24d386954a27df /Source/kwsys/Directory.cxx
parente34d666fc713c6853496c2bcaaff5786353f1e22 (diff)
downloadCMake-73e1d9abd93c605f17e237137ac022700b1c0859.zip
CMake-73e1d9abd93c605f17e237137ac022700b1c0859.tar.gz
CMake-73e1d9abd93c605f17e237137ac022700b1c0859.tar.bz2
COMP: Some STL implementation do not provide clear on std::string
Diffstat (limited to 'Source/kwsys/Directory.cxx')
-rw-r--r--Source/kwsys/Directory.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/Directory.cxx b/Source/kwsys/Directory.cxx
index f3e302f..5b4dcda 100644
--- a/Source/kwsys/Directory.cxx
+++ b/Source/kwsys/Directory.cxx
@@ -79,7 +79,8 @@ const char* Directory::GetPath() const
//----------------------------------------------------------------------------
void Directory::Clear()
{
- this->Internal->Path.clear();
+ //this->Internal->Path.clear();
+ this->Internal->Path = "";
this->Internal->Files.clear();
}