summaryrefslogtreecommitdiff
path: root/apt-pkg/indexrecords.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-04-16 15:28:23 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-04-16 15:28:23 +0200
commit1dca8dc55c1fcf4bda07a7e8285de7f225448697 (patch)
tree25366e329ee89765bbe92c0fb45f6c301ef6375d /apt-pkg/indexrecords.cc
parentd0cfa8adbdd74ad7e363019739c77e713dc982e5 (diff)
load the size from the metaindex into the fetcher to have even more accurate progress information
Diffstat (limited to 'apt-pkg/indexrecords.cc')
-rw-r--r--apt-pkg/indexrecords.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/indexrecords.cc b/apt-pkg/indexrecords.cc
index 5353d1098..68ebdce08 100644
--- a/apt-pkg/indexrecords.cc
+++ b/apt-pkg/indexrecords.cc
@@ -53,7 +53,7 @@ APT_PURE time_t indexRecords::GetValidUntil() const
return this->ValidUntil;
}
-APT_PURE const indexRecords::checkSum *indexRecords::Lookup(const string MetaKey)
+APT_PURE indexRecords::checkSum *indexRecords::Lookup(const string MetaKey)
{
std::map<std::string, indexRecords::checkSum* >::const_iterator sum = Entries.find(MetaKey);
if (sum == Entries.end())