summaryrefslogtreecommitdiff
path: root/ftparchive/contents.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-11-28 03:19:52 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-11-28 03:19:52 +0100
commit9209ec4701d9f6c21d4ae9ebb648d94a1f32665a (patch)
treed052b31d98f9a6a75e2dc1489b1c9b4ec0803e6d /ftparchive/contents.cc
parentff574e76beb97c101924c2d4746b5a2dbb862f19 (diff)
tell every method in ftparchive/ that const& is sexy
Diffstat (limited to 'ftparchive/contents.cc')
-rw-r--r--ftparchive/contents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/contents.cc b/ftparchive/contents.cc
index 1f2cbcc3d..693c36f9a 100644
--- a/ftparchive/contents.cc
+++ b/ftparchive/contents.cc
@@ -399,7 +399,7 @@ bool ContentsExtract::TakeContents(const void *NewData,unsigned long Length)
// ContentsExtract::Add - Read the contents data into the sorter /*{{{*/
// ---------------------------------------------------------------------
/* */
-void ContentsExtract::Add(GenContents &Contents,string Package)
+void ContentsExtract::Add(GenContents &Contents,string const &Package)
{
const char *Start = Data;
char *Pkg = Contents.Mystrdup(Package.c_str());