From d31f807a8d3f031d5efc5c3be9b76f9a9ac22d5d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 26 Feb 2020 14:15:24 +0100 Subject: Remove various dynamic_cast uses, use virtual methods instead --- apt-pkg/deb/debmetaindex.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apt-pkg/deb/debmetaindex.h') diff --git a/apt-pkg/deb/debmetaindex.h b/apt-pkg/deb/debmetaindex.h index 0038f52f9..5bdbbc70c 100644 --- a/apt-pkg/deb/debmetaindex.h +++ b/apt-pkg/deb/debmetaindex.h @@ -55,9 +55,9 @@ class APT_HIDDEN debReleaseIndex : public metaIndex std::map GetReleaseOptions(); virtual bool IsTrusted() const APT_OVERRIDE; - bool IsArchitectureSupported(std::string const &arch) const; - bool IsArchitectureAllSupportedFor(IndexTarget const &target) const; - bool HasSupportForComponent(std::string const &component) const; + bool IsArchitectureSupported(std::string const &arch) const override; + bool IsArchitectureAllSupportedFor(IndexTarget const &target) const override; + bool HasSupportForComponent(std::string const &component) const override; APT_PURE time_t GetNotBefore() const; -- cgit v1.2.3-70-g09d2