summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-09-09 15:28:29 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-09-09 15:28:29 +0200
commit6753bbb11fc2017972e372851b00af10f40f01a7 (patch)
tree992f8b785c47a7993f0e9f4638ffe1321275ada6
parenta9cbfb94682d88c752cf9519c5c36484abf54ca6 (diff)
parent316aea6fd30a7334e4494bb8b2d562fc39e45ae7 (diff)
downloadabrt-6753bbb11fc2017972e372851b00af10f40f01a7.tar.gz
abrt-6753bbb11fc2017972e372851b00af10f40f01a7.tar.xz
abrt-6753bbb11fc2017972e372851b00af10f40f01a7.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
-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);