]> git.saurik.com Git - apt.git/blobdiff - ftparchive/contents.cc
merged lp:~mvo/apt/conflicts-on-virtuals to better deal with
[apt.git] / ftparchive / contents.cc
index fb1438f745bc1192aa026d371714da91e5a23ec7..b761d9204adb803df418cf5e4e3f17c82ac72a6d 100644 (file)
@@ -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());