summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-15 09:40:15 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-15 09:40:15 +0100
commit6e877571bc2dd50e38f2f35675c401d74dbe233d (patch)
tree3687286269bda4e8c86bf779d4cc67ae98a70d68 /apt-pkg/tagfile.cc
parentda4f6c5b71eee9eee67225d2c4b396d47f44620d (diff)
Run unifdef -DAPT_PKG_ABI=700 again
main picked up a couple new ifdefs since the branch started; so clean them up again.
Diffstat (limited to 'apt-pkg/tagfile.cc')
-rw-r--r--apt-pkg/tagfile.cc12
1 files changed, 0 insertions, 12 deletions
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, "");