summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-01-26 21:58:57 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2016-01-26 21:58:57 +0100
commit02ceb810fe0de9b267a8b6a302505967afce6b5a (patch)
treeac1876d52a5fb44e51dddcdee1c734c11d00fddb /apt-pkg/edsp
parent07aca07ae73016aa7823e708dda746eec8346989 (diff)
remove unused Description methods in listparsers
These virtual methods are implemented in hidden classes, so we can drop them without breaking the ABI. Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/edsp')
-rw-r--r--apt-pkg/edsp/edsplistparser.cc8
-rw-r--r--apt-pkg/edsp/edsplistparser.h3
2 files changed, 3 insertions, 8 deletions
diff --git a/apt-pkg/edsp/edsplistparser.cc b/apt-pkg/edsp/edsplistparser.cc
index 85a57479e..82799205e 100644
--- a/apt-pkg/edsp/edsplistparser.cc
+++ b/apt-pkg/edsp/edsplistparser.cc
@@ -54,13 +54,9 @@ bool edspListParser::NewVersion(pkgCache::VerIterator &Ver)
// ListParser::Description - Return the description string /*{{{*/
// ---------------------------------------------------------------------
/* Sorry, no description for the resolvers… */
-std::string edspListParser::Description()
+std::vector<std::string> edspListParser::AvailableDescriptionLanguages()
{
- return "";
-}
-std::string edspListParser::DescriptionLanguage()
-{
- return "";
+ return {};
}
MD5SumValue edspListParser::Description_md5()
{
diff --git a/apt-pkg/edsp/edsplistparser.h b/apt-pkg/edsp/edsplistparser.h
index 25363e1c7..691ac83ed 100644
--- a/apt-pkg/edsp/edsplistparser.h
+++ b/apt-pkg/edsp/edsplistparser.h
@@ -31,8 +31,7 @@ class APT_HIDDEN edspListParser : public debListParser
edspListParserPrivate * const d;
public:
virtual bool NewVersion(pkgCache::VerIterator &Ver) APT_OVERRIDE;
- virtual std::string Description();
- virtual std::string DescriptionLanguage();
+ virtual std::vector<std::string> AvailableDescriptionLanguages() APT_OVERRIDE;
virtual MD5SumValue Description_md5() APT_OVERRIDE;
virtual unsigned short VersionHash() APT_OVERRIDE;