diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-07 11:46:13 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-07 11:46:13 +0100 |
commit | fb72ac689ca4832fca215edc942ae01592ecfff8 (patch) | |
tree | 9fae338f6e6fd841747b70d06faecb87f40e5ee7 /lib/Plugins/Logger.cpp | |
parent | 4e953eeeacab697ba26dc5588478cb12e64350b0 (diff) | |
download | abrt-fb72ac689ca4832fca215edc942ae01592ecfff8.tar.gz abrt-fb72ac689ca4832fca215edc942ae01592ecfff8.tar.xz abrt-fb72ac689ca4832fca215edc942ae01592ecfff8.zip |
*: remove most of remaining const string& params
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib/Plugins/Logger.cpp')
-rw-r--r-- | lib/Plugins/Logger.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Plugins/Logger.cpp b/lib/Plugins/Logger.cpp index 9f261a3..35f042c 100644 --- a/lib/Plugins/Logger.cpp +++ b/lib/Plugins/Logger.cpp @@ -60,7 +60,8 @@ void CLogger::SetSettings(const map_plugin_settings_t& pSettings) //} std::string CLogger::Report(const map_crash_report_t& pCrashReport, - const map_plugin_settings_t& pSettings, const std::string& pArgs) + const map_plugin_settings_t& pSettings, + const char *pArgs) { update_client(_("Creating a report...")); @@ -84,7 +85,7 @@ std::string CLogger::Report(const map_crash_report_t& pCrashReport, return "file://" + m_sLogPath; } - throw CABRTException(EXCEP_PLUGIN, "Can't open file '%s'", m_sLogPath); + throw CABRTException(EXCEP_PLUGIN, "Can't open file '%s'", m_sLogPath.c_str()); } PLUGIN_INFO(REPORTER, |