summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-26 13:56:45 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 13:56:45 +0100
commitb2eec2572ce1c8e79ac3a270161cc5d415169840 (patch)
tree7395aaf6327bc4242ecfb1e58d32590ab27e80ad /apt-pkg/contrib
parente4e9af454db78c287ca062ac7d75bdd63bd7f744 (diff)
Merge CommandLine::DispatchArg
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r--apt-pkg/contrib/cmndline.cc5
-rw-r--r--apt-pkg/contrib/cmndline.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/apt-pkg/contrib/cmndline.cc b/apt-pkg/contrib/cmndline.cc
index 3b844edc2..b80543c91 100644
--- a/apt-pkg/contrib/cmndline.cc
+++ b/apt-pkg/contrib/cmndline.cc
@@ -382,11 +382,6 @@ bool CommandLine::DispatchArg(Dispatch const * const Map,bool NoMatch)
return false;
}
-bool CommandLine::DispatchArg(Dispatch *Map,bool NoMatch)
-{
- Dispatch const * const Map2 = Map;
- return DispatchArg(Map2, NoMatch);
-}
/*}}}*/
// CommandLine::SaveInConfig - for output later in a logfile or so /*{{{*/
// ---------------------------------------------------------------------
diff --git a/apt-pkg/contrib/cmndline.h b/apt-pkg/contrib/cmndline.h
index 66e0e16d8..28ea9119e 100644
--- a/apt-pkg/contrib/cmndline.h
+++ b/apt-pkg/contrib/cmndline.h
@@ -80,8 +80,6 @@ class CommandLine
bool Parse(int argc,const char **argv);
void ShowHelp();
unsigned int FileSize() const APT_PURE;
- // FIXME: merge on next ABI break
- bool DispatchArg(Dispatch *List,bool NoMatch = true);
bool DispatchArg(Dispatch const * const List,bool NoMatch = true);
static char const * GetCommand(Dispatch const * const Map,