diff options
| author | dnovotny <danny@rawhide.localdomain> | 2009-10-13 05:36:40 -0400 |
|---|---|---|
| committer | dnovotny <danny@rawhide.localdomain> | 2009-10-13 05:36:40 -0400 |
| commit | c87548afdde1d0c4e8b2b70fb69327f62bcfd31d (patch) | |
| tree | cadff2ee88bb4c4d815f52c809ebfd2649cb3767 /lib | |
| parent | 828288e948ccc6c5c1525eaf44bc8cb83960e9f1 (diff) | |
| download | abrt-c87548afdde1d0c4e8b2b70fb69327f62bcfd31d.tar.gz abrt-c87548afdde1d0c4e8b2b70fb69327f62bcfd31d.tar.xz abrt-c87548afdde1d0c4e8b2b70fb69327f62bcfd31d.zip | |
parameters passed as const string &
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Plugins/CCpp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index f79877e..c1725fc 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; |
