summaryrefslogtreecommitdiff
path: root/apt-pkg/srcrecords.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/srcrecords.h')
-rw-r--r--apt-pkg/srcrecords.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/apt-pkg/srcrecords.h b/apt-pkg/srcrecords.h
index 8c52f5683..77d648fa8 100644
--- a/apt-pkg/srcrecords.h
+++ b/apt-pkg/srcrecords.h
@@ -29,21 +29,14 @@ class pkgSrcRecords
{
public:
-APT_IGNORE_DEPRECATED_PUSH
// Describes a single file
struct File
{
- APT_DEPRECATED_MSG("Use Hashes member instead of hardcoded hash algorithm") std::string MD5Hash;
- APT_DEPRECATED_MSG("Use FileSize member instead") unsigned long Size;
std::string Path;
std::string Type;
- };
- struct File2 : public File
- {
unsigned long long FileSize;
HashStringList Hashes;
};
-APT_IGNORE_DEPRECATED_POP
// Abstract parser for each source record
class Parser
@@ -86,7 +79,6 @@ APT_IGNORE_DEPRECATED_POP
static const char *BuildDepType(unsigned char const &Type) APT_PURE;
virtual bool Files(std::vector<pkgSrcRecords::File> &F) = 0;
- bool Files2(std::vector<pkgSrcRecords::File2> &F);
explicit Parser(const pkgIndexFile *Index);
virtual ~Parser();