summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Utils/DebugDump.cpp2
-rw-r--r--lib/Utils/DebugDump.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp
index 330e1cc..345dbf0 100644
--- a/lib/Utils/DebugDump.cpp
+++ b/lib/Utils/DebugDump.cpp
@@ -68,7 +68,7 @@ void CDebugDump::Open(const std::string& pDir)
m_bOpened = true;
}
-bool CDebugDump::Exist(const std::string& pPath)
+bool CDebugDump::Exist(const char* pPath)
{
std::string fullPath = m_sDebugDumpDir + "/" + pPath;
return ExistFileDir(fullPath);
diff --git a/lib/Utils/DebugDump.h b/lib/Utils/DebugDump.h
index 9a7427e..573c607 100644
--- a/lib/Utils/DebugDump.h
+++ b/lib/Utils/DebugDump.h
@@ -62,7 +62,7 @@ class CDebugDump
void Delete();
void Close();
- bool Exist(const std::string& pFileName);
+ bool Exist(const char* pFileName);
void LoadText(const std::string& pName, std::string& pData);
void LoadBinary(const std::string& pName, char** pData, unsigned int* pSize);