ENH: Use const char where it should have been. At same time fix Bug#2958
This commit is contained in:
parent
d5631f370b
commit
e9fcafafe5
@ -80,8 +80,7 @@ const char* Directory::GetPath() const
|
|||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void Directory::Clear()
|
void Directory::Clear()
|
||||||
{
|
{
|
||||||
//this->Internal->Path.clear();
|
this->Internal->Path.resize(0);
|
||||||
this->Internal->Path = "";
|
|
||||||
this->Internal->Files.clear();
|
this->Internal->Files.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,10 +57,9 @@ public:
|
|||||||
*/
|
*/
|
||||||
const char* GetPath() const;
|
const char* GetPath() const;
|
||||||
|
|
||||||
protected:
|
|
||||||
/**
|
/**
|
||||||
* Clear the internal structure. Used internally at beginning of Load(...) to clear
|
* Clear the internal structure. Used internally at beginning of Load(...)
|
||||||
* the cache.
|
* to clear the cache.
|
||||||
*/
|
*/
|
||||||
void Clear();
|
void Clear();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user