From d77c1c7db760ae21d703b8b0f129379e54918bf7 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 26 Feb 2020 14:19:10 +0100 Subject: metaindex: Add Origin, Label, Version, DefaultPin, ReleaseNotes members These were hidden behind the d-pointer previously. --- apt-pkg/deb/debmetaindex.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apt-pkg/deb') diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc index 2c0ab1d0d..a72f6d055 100644 --- a/apt-pkg/deb/debmetaindex.cc +++ b/apt-pkg/deb/debmetaindex.cc @@ -447,12 +447,12 @@ bool debReleaseIndex::Load(std::string const &Filename, std::string * const Erro // FIXME: find better tag name SupportsAcquireByHash = Section.FindB("Acquire-By-Hash", false); - SetOrigin(Section.FindS("Origin")); - SetLabel(Section.FindS("Label")); - SetVersion(Section.FindS("Version")); + Origin = Section.FindS("Origin"); + Label = Section.FindS("Label"); + Version = Section.FindS("Version"); Suite = Section.FindS("Suite"); Codename = Section.FindS("Codename"); - SetReleaseNotes(Section.FindS("Release-Notes")); + ReleaseNotes = Section.FindS("Release-Notes"); { std::string const archs = Section.FindS("Architectures"); if (archs.empty() == false) @@ -484,7 +484,7 @@ bool debReleaseIndex::Load(std::string const &Filename, std::string * const Erro else defaultpin = 1; } - SetDefaultPin(defaultpin); + DefaultPin = defaultpin; } bool FoundHashSum = false; -- cgit v1.2.3