diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-25 12:57:46 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-25 12:57:46 +0200 |
commit | 5bf3512df0529960ed4980251825b49a12eff894 (patch) | |
tree | de20619cee10aa47781f43a1be32e56af73cf99a /src/Daemon/CommLayerServer.h | |
parent | 47df431ad534b9319d95ef4dc79c2671baf0ee1b (diff) | |
download | abrt-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/Daemon/CommLayerServer.h')
-rw-r--r-- | src/Daemon/CommLayerServer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Daemon/CommLayerServer.h b/src/Daemon/CommLayerServer.h index af79511a..38dbac9b 100644 --- a/src/Daemon/CommLayerServer.h +++ b/src/Daemon/CommLayerServer.h @@ -31,15 +31,15 @@ class CCommLayerServer { void Detach(CObserver *pObs); void Notify(const std::string& pMessage); - virtual vector_crash_infos_t GetCrashInfos(const std::string &pSender) = 0; - virtual map_crash_report_t CreateReport(const std::string &pUUID,const std::string &pSender) = 0; - virtual report_status_t Report(map_crash_report_t pReport,const std::string &pSender) = 0; + virtual vector_crash_infos_t GetCrashInfos(const std::string& pSender) = 0; + virtual map_crash_report_t CreateReport(const std::string &pUUID, const std::string& pSender) = 0; + virtual report_status_t Report(const map_crash_report_t& pReport, const std::string& pSender) = 0; virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pSender) = 0; public: /* just stubs to be called when not implemented in specific comm layer */ virtual void Crash(const std::string& arg1) {} - virtual void AnalyzeComplete(map_crash_report_t arg1) {} + virtual void AnalyzeComplete(const map_crash_report_t& arg1) {} virtual void Error(const std::string& arg1) {} virtual void Update(const std::string& pDest, const std::string& pMessage) {}; virtual void Warning(const std::string& pDest, const std::string& pMessage) {}; |