From 94f6611592b4b77ac257ec37445776ac2845f682 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 7 May 2014 16:23:37 +0200 Subject: rename pkgSourceList::Add() to pkgSourceList::AddMetaIndex() --- apt-pkg/sourcelist.h | 2 +- apt-private/private-install.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 4943dd32a..cdf8d9762 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -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); } diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index 4a68bb9d1..e7606a1d1 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -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]); } } } -- cgit v1.2.3