summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/progress.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-11-23 00:00:13 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-11-23 00:00:13 +0000
commit171c75f13acc955110a6c4693c7b8fe243709843 (patch)
tree5ab08f93a83b026a12cab131061ddf91cbf476f2 /apt-pkg/contrib/progress.h
parent7c6e2dc761f736bf203f7770f7a1c4a63f7063d4 (diff)
* applied parts of the string speedup patch from debian #319377 (ABI change)
Diffstat (limited to 'apt-pkg/contrib/progress.h')
-rw-r--r--apt-pkg/contrib/progress.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/progress.h b/apt-pkg/contrib/progress.h
index d0b1f5f94..20caf4cdf 100644
--- a/apt-pkg/contrib/progress.h
+++ b/apt-pkg/contrib/progress.h
@@ -59,9 +59,9 @@ class OpProgress
void Progress(unsigned long Current);
void SubProgress(unsigned long SubTotal);
- void SubProgress(unsigned long SubTotal,string Op);
+ void SubProgress(unsigned long SubTotal,const string &Op);
void OverallProgress(unsigned long Current,unsigned long Total,
- unsigned long Size,string Op);
+ unsigned long Size,const string &Op);
virtual void Done() {};
OpProgress();