From 73e1d9abd93c605f17e237137ac022700b1c0859 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 6 Mar 2006 13:02:13 -0500 Subject: COMP: Some STL implementation do not provide clear on std::string --- Source/kwsys/Directory.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } -- cgit v0.12