summaryrefslogtreecommitdiff
path: root/apt-pkg/tagfile.h
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.h
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.h')
-rw-r--r--apt-pkg/tagfile.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/apt-pkg/tagfile.h b/apt-pkg/tagfile.h
index bea6f37ba..4c5871833 100644
--- a/apt-pkg/tagfile.h
+++ b/apt-pkg/tagfile.h
@@ -150,15 +150,9 @@ class APT_PUBLIC pkgTagSection
std::string Name;
std::string Data;
-#if APT_PKG_ABI > 600
static Tag Remove(std::string_view Name);
static Tag Rename(std::string_view OldName, std::string_view NewName);
static Tag Rewrite(std::string_view Name, std::string_view Data);
-#else
- static Tag Remove(std::string const &Name);
- static Tag Rename(std::string const &OldName, std::string const &NewName);
- static Tag Rewrite(std::string const &Name, std::string const &Data);
-#endif
private:
Tag(ActionType const Action, std::string_view Name, std::string_view Data) :
Action(Action), Name(Name), Data(Data) {}