@@ -117,7 +117,7 @@ class pkgSourceList
time_t GetLastModifiedTime();
// Add custom metaIndex (e.g. local files)
- void Add(metaIndex *mi) {
+ void AddMetaIndex(metaIndex *mi) {
SrcList.push_back(mi);
}
@@ -686,7 +686,7 @@ bool DoInstall(CommandLine &CmdL)
if(Type->CreateItem(List, *I, "", "", Options))
{
pkgSourceList *sources = Cache.GetSourceList();
- sources->Add(List[0]);
+ sources->AddMetaIndex(List[0]);