diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-05-07 16:23:37 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-05-07 16:23:37 +0200 |
commit | 94f6611592b4b77ac257ec37445776ac2845f682 (patch) | |
tree | 74c20273115686b55874c468dc10adc83ac585f5 | |
parent | 713ee8ad3f4d7be00d2fbacd979e78772f24a675 (diff) |
rename pkgSourceList::Add() to pkgSourceList::AddMetaIndex()
-rw-r--r-- | apt-pkg/sourcelist.h | 2 | ||||
-rw-r--r-- | 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]); } } } |