summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/Python.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-06 12:41:24 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-06 12:41:24 +0100
commitc8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608 (patch)
tree237a9d3f821d01932111e9fa59af5d3e44b988c8 /lib/Plugins/Python.cpp
parent03bbbf8eff11cf68a7e2325ca310e02bf3757193 (diff)
downloadabrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.tar.gz
abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.tar.xz
abrt-c8e9e69f96c2bd0b9248d6dfab91e2d27ab8e608.zip
mass replace of const string& params by const char*
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Python.cpp')
-rw-r--r--lib/Plugins/Python.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Plugins/Python.cpp b/lib/Plugins/Python.cpp
index b92d6af..9fb7880 100644
--- a/lib/Plugins/Python.cpp
+++ b/lib/Plugins/Python.cpp
@@ -6,7 +6,7 @@
#define FILENAME_BACKTRACE "backtrace"
#define PYHOOK_CONFIG "/etc/abrt/pyhook.conf"
-static std::string CreateHash(const std::string& pDebugDumpDir)
+static std::string CreateHash(const char *pDebugDumpDir)
{
std::string uuid;
CDebugDump dd;
@@ -15,11 +15,11 @@ static std::string CreateHash(const std::string& pDebugDumpDir)
return uuid;
}
-std::string CAnalyzerPython::GetLocalUUID(const std::string& pDebugDumpDir)
+std::string CAnalyzerPython::GetLocalUUID(const char *pDebugDumpDir)
{
return CreateHash(pDebugDumpDir);
}
-std::string CAnalyzerPython::GetGlobalUUID(const std::string& pDebugDumpDir)
+std::string CAnalyzerPython::GetGlobalUUID(const char *pDebugDumpDir)
{
return GetLocalUUID(pDebugDumpDir);
}