diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-22 16:41:19 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-22 16:41:19 +0200 |
| commit | 0d48cebeeeaf0e0f4d756aff445d40c85a164b50 (patch) | |
| tree | c59a9c9fc53b17ceebeb94bb9dfdfc267501d3f5 /lib | |
| parent | 67492995a84e88403bfbe5a46627d53dd99e7711 (diff) | |
| parent | c87548afdde1d0c4e8b2b70fb69327f62bcfd31d (diff) | |
| download | abrt-0d48cebeeeaf0e0f4d756aff445d40c85a164b50.tar.gz abrt-0d48cebeeeaf0e0f4d756aff445d40c85a164b50.tar.xz abrt-0d48cebeeeaf0e0f4d756aff445d40c85a164b50.zip | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
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; |
