summaryrefslogtreecommitdiffstats
path: root/src/CLI/ABRTSocket.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-08-25 12:57:46 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-08-25 12:57:46 +0200
commit5bf3512df0529960ed4980251825b49a12eff894 (patch)
treede20619cee10aa47781f43a1be32e56af73cf99a /src/CLI/ABRTSocket.cpp
parent47df431ad534b9319d95ef4dc79c2671baf0ee1b (diff)
downloadabrt-5bf3512df0529960ed4980251825b49a12eff894.tar.gz
abrt-5bf3512df0529960ed4980251825b49a12eff894.tar.xz
abrt-5bf3512df0529960ed4980251825b49a12eff894.zip
pass map_crash_report_t by const reference, not by value
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/CLI/ABRTSocket.cpp')
-rw-r--r--src/CLI/ABRTSocket.cpp2
1 files changed, 1 insertions, 1 deletions
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);