ENH: Use const char where it should have been. At same time fix Bug#2958

This commit is contained in:
Mathieu Malaterre 2006-03-17 12:06:41 -05:00
parent d5631f370b
commit e9fcafafe5
4 changed files with 14 additions and 16 deletions

View File

@ -80,8 +80,7 @@ const char* Directory::GetPath() const
//----------------------------------------------------------------------------
void Directory::Clear()
{
//this->Internal->Path.clear();
this->Internal->Path = "";
this->Internal->Path.resize(0);
this->Internal->Files.clear();
}

View File

@ -57,10 +57,9 @@ public:
*/
const char* GetPath() const;
protected:
/**
* Clear the internal structure. Used internally at beginning of Load(...) to clear
* the cache.
* Clear the internal structure. Used internally at beginning of Load(...)
* to clear the cache.
*/
void Clear();