diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-11-27 15:40:47 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-27 15:40:47 +0100 |
commit | 5dd00edbcf702cac1ea22392796c65881a8ef6f9 (patch) | |
tree | dc6889cd336109df822a3b7c9f72881a6824157e /apt-pkg/srcrecords.h | |
parent | 28f24d3dad1844af316337d565ba2ebc11c8ce97 (diff) |
add messages to our deprecation warnings in libapt
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/srcrecords.h')
-rw-r--r-- | apt-pkg/srcrecords.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/srcrecords.h b/apt-pkg/srcrecords.h index f0a3c463a..9cc58c5b4 100644 --- a/apt-pkg/srcrecords.h +++ b/apt-pkg/srcrecords.h @@ -33,8 +33,8 @@ APT_IGNORE_DEPRECATED_PUSH // Describes a single file struct File { - APT_DEPRECATED std::string MD5Hash; - APT_DEPRECATED unsigned long Size; + 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; }; |