diff options
author | Michael Vogt <mvo@debian.org> | 2014-05-28 10:29:23 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-05-28 10:29:23 +0200 |
commit | 32228b90a72b1d130892cf7ffcd667cb192f1e70 (patch) | |
tree | 520c5d42b04ea54b16e94ffa5b6d0ecd7d365649 /apt-pkg/deb/debmetaindex.h | |
parent | b29599105ed9a5bb38b55cb066ef81256d66be41 (diff) |
Fix more warnings from clang
Reported-By: clang++ -Werror
Diffstat (limited to 'apt-pkg/deb/debmetaindex.h')
-rw-r--r-- | apt-pkg/deb/debmetaindex.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.h b/apt-pkg/deb/debmetaindex.h index 2286fa8b2..bbeba1598 100644 --- a/apt-pkg/deb/debmetaindex.h +++ b/apt-pkg/deb/debmetaindex.h @@ -18,6 +18,7 @@ class pkgAcquire; class pkgIndexFile; +class IndexTarget; class debReleaseIndex : public metaIndex { public: @@ -44,7 +45,7 @@ class debReleaseIndex : public metaIndex { virtual std::string ArchiveURI(std::string const &File) const {return URI + File;}; virtual bool GetIndexes(pkgAcquire *Owner, bool const &GetAll=false) const; - std::vector <struct IndexTarget *>* ComputeIndexTargets() const; + std::vector <IndexTarget *>* ComputeIndexTargets() const; std::string Info(const char *Type, std::string const &Section, std::string const &Arch="") const; std::string MetaIndexInfo(const char *Type) const; |