]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-search.cc
warning: cast from type A to type B casts away qualifiers [-Wcast-qual]
[apt.git] / apt-private / private-search.cc
index ade12353a0397c6a3031755e310fb99f1f708506..0b1a929b00172df3705ca6e052100e25efe1a66e 100644 (file)
@@ -53,7 +53,7 @@ bool FullTextSearch(CommandLine &CmdL)                                        /*{{{*/
    std::map<std::string, std::string>::const_iterator K;
 
    LocalitySortedVersionSet bag;
-   OpTextProgress progress;
+   OpTextProgress progress(*_config);
    progress.OverallProgress(0, 100, 50,  _("Sorting"));
    GetLocalitySortedVersionSet(CacheFile, bag, progress);
    LocalitySortedVersionSet::iterator V = bag.begin();