summaryrefslogtreecommitdiff
path: root/src/generic/util
diff options
context:
space:
mode:
authorDaniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu>2010-06-09 18:03:31 -0700
committerDaniel Burrows <Daniel Burrows Daniel_Burrows@alumni.brown.edu>2010-06-09 18:03:31 -0700
commitfc3930151cd3d06231ab5f7500b6e5d6f7726733 (patch)
tree16a888a6310852e2ff72d3ddaaa40ec93c77d682 /src/generic/util
parentd911db2b0dace473402f0ac7613e9e7df9851b09 (diff)
downloadaptitude-fc3930151cd3d06231ab5f7500b6e5d6f7726733.tar.gz
Eliminate an unnecessary string copy.
Diffstat (limited to 'src/generic/util')
-rw-r--r--src/generic/util/progress_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generic/util/progress_info.h b/src/generic/util/progress_info.h
index 85ad2119..7fa5e2c9 100644
--- a/src/generic/util/progress_info.h
+++ b/src/generic/util/progress_info.h
@@ -48,7 +48,7 @@ namespace aptitude
std::string progress_status;
progress_info(double _progress_fraction,
- std::string _progress_status)
+ const std::string &_progress_status)
: type(progress_type_bar),
progress_fraction(_progress_fraction),
progress_status(_progress_status)