diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2009-11-28 03:19:52 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2009-11-28 03:19:52 +0100 |
commit | 9209ec4701d9f6c21d4ae9ebb648d94a1f32665a (patch) | |
tree | d052b31d98f9a6a75e2dc1489b1c9b4ec0803e6d /ftparchive/contents.h | |
parent | ff574e76beb97c101924c2d4746b5a2dbb862f19 (diff) |
tell every method in ftparchive/ that const& is sexy
Diffstat (limited to 'ftparchive/contents.h')
-rw-r--r-- | ftparchive/contents.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/contents.h b/ftparchive/contents.h index d8457cd45..5b5092b66 100644 --- a/ftparchive/contents.h +++ b/ftparchive/contents.h @@ -80,7 +80,7 @@ class ContentsExtract : public pkgDirStream virtual bool DoItem(Item &Itm,int &Fd); void Reset() {CurSize = 0;}; bool TakeContents(const void *Data,unsigned long Length); - void Add(GenContents &Contents,string Package); + void Add(GenContents &Contents,string const &Package); ContentsExtract() : Data(0), MaxSize(0), CurSize(0) {}; virtual ~ContentsExtract() {delete [] Data;}; |