]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debindexfile.cc
drop stored StringItems in favor of in-memory mappings
[apt.git] / apt-pkg / deb / debindexfile.cc
index feda8d0d838ada32385db42edd6db94f6556dcc5..c35a89adea6e6ffc7fdb6eedd1ba9292129ffd4e 100644 (file)
@@ -619,7 +619,7 @@ bool debStatusIndex::Merge(pkgCacheGenerator &Gen,OpProgress *Prog) const
    pkgCache::PkgFileIterator CFile = Gen.GetCurFile();
    CFile->Size = Pkg.FileSize();
    CFile->mtime = Pkg.ModificationTime();
-   map_stringitem_t const storage = Gen.WriteUniqString("now");
+   map_stringitem_t const storage = Gen.StoreString(pkgCacheGenerator::MIXED, "now");
    CFile->Archive = storage;
    
    if (Gen.MergeList(Parser) == false)