summaryrefslogtreecommitdiffstats
path: root/lib/Plugins
diff options
context:
space:
mode:
authordnovotny <danny@rawhide.localdomain>2009-10-13 05:36:40 -0400
committerdnovotny <danny@rawhide.localdomain>2009-10-13 05:36:40 -0400
commitc87548afdde1d0c4e8b2b70fb69327f62bcfd31d (patch)
treecadff2ee88bb4c4d815f52c809ebfd2649cb3767 /lib/Plugins
parent828288e948ccc6c5c1525eaf44bc8cb83960e9f1 (diff)
downloadabrt-c87548afdde1d0c4e8b2b70fb69327f62bcfd31d.tar.gz
abrt-c87548afdde1d0c4e8b2b70fb69327f62bcfd31d.tar.xz
abrt-c87548afdde1d0c4e8b2b70fb69327f62bcfd31d.zip
parameters passed as const string &
Diffstat (limited to 'lib/Plugins')
-rw-r--r--lib/Plugins/CCpp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index f79877e6..c1725fc8 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -169,7 +169,7 @@ enum LineRating
static const LineRating BestRating = Good;
-LineRating rate_line(std::string line)
+LineRating rate_line(const std::string & line)
{
bool function = false;
bool library = false;
@@ -200,7 +200,7 @@ LineRating rate_line(std::string line)
}
/* returns number of "stars" to show*/
-int rate_backtrace(std::string backtrace)
+int rate_backtrace(const std::string & backtrace)
{
int l = backtrace.length();
int i;