From 5bf3512df0529960ed4980251825b49a12eff894 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 25 Aug 2009 12:57:46 +0200 Subject: pass map_crash_report_t by const reference, not by value Signed-off-by: Denys Vlasenko --- src/CLI/ABRTSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/CLI/ABRTSocket.cpp') diff --git a/src/CLI/ABRTSocket.cpp b/src/CLI/ABRTSocket.cpp index a699bbd..1f90f63 100644 --- a/src/CLI/ABRTSocket.cpp +++ b/src/CLI/ABRTSocket.cpp @@ -117,7 +117,7 @@ map_crash_report_t CABRTSocket::CreateReport(const std::string &pUUID) return string_to_crash_report(message); } -void CABRTSocket::Report(map_crash_report_t pReport) +void CABRTSocket::Report(const map_crash_report_t& pReport) { std::string message = MESSAGE_REPORT + crash_report_to_string(pReport); Send(message); -- cgit