From 316aea6fd30a7334e4494bb8b2d562fc39e45ae7 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 9 Sep 2009 15:23:53 +0200 Subject: replace one const string& parameter with const char*. almost -1k of code (!) text data bss dec hex filename 189533 2776 2320 194629 2f845 abrt.t4/abrt-0.0.8.5/src/Daemon/.libs/abrtd 188660 2776 2320 193756 2f4dc abrt.t6/abrt-0.0.8.5/src/Daemon/.libs/abrtd Signed-off-by: Denys Vlasenko --- lib/Utils/DebugDump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Utils/DebugDump.cpp') diff --git a/lib/Utils/DebugDump.cpp b/lib/Utils/DebugDump.cpp index 330e1cc9..345dbf02 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); -- cgit