From 6e877571bc2dd50e38f2f35675c401d74dbe233d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 15 Feb 2025 09:40:15 +0100 Subject: Run unifdef -DAPT_PKG_ABI=700 again main picked up a couple new ifdefs since the branch started; so clean them up again. --- apt-pkg/tagfile.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'apt-pkg/tagfile.cc') diff --git a/apt-pkg/tagfile.cc b/apt-pkg/tagfile.cc index bb0244cd5..26bf70804 100644 --- a/apt-pkg/tagfile.cc +++ b/apt-pkg/tagfile.cc @@ -958,27 +958,15 @@ APT_PURE unsigned int pkgTagSection::Count() const { /*{{{*/ } /*}}}*/ // TagSection::Write - Ordered (re)writing of fields /*{{{*/ -#if APT_PKG_ABI > 600 pkgTagSection::Tag pkgTagSection::Tag::Remove(std::string_view Name) -#else -pkgTagSection::Tag pkgTagSection::Tag::Remove(std::string const &Name) -#endif { return Tag(REMOVE, Name, ""); } -#if APT_PKG_ABI > 600 pkgTagSection::Tag pkgTagSection::Tag::Rename(std::string_view OldName, std::string_view NewName) -#else -pkgTagSection::Tag pkgTagSection::Tag::Rename(std::string const &OldName, std::string const &NewName) -#endif { return Tag(RENAME, OldName, NewName); } -#if APT_PKG_ABI > 600 pkgTagSection::Tag pkgTagSection::Tag::Rewrite(std::string_view Name, std::string_view Data) -#else -pkgTagSection::Tag pkgTagSection::Tag::Rewrite(std::string const &Name, std::string const &Data) -#endif { if (Data.empty() == true) return Tag(REMOVE, Name, ""); -- cgit v1.2.3-70-g09d2