summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-06-17 00:14:10 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-10 17:24:01 +0200
commite8afd16892e87a6e2f17c1019ee455f5583387c2 (patch)
treed8017e9602be65572c629209c6febeb0ff263d4b /cmdline/apt-extracttemplates.h
parent3d5e93f7cd6bea364ca811c7f64b5e1d4174a4ac (diff)
apply various style suggestions by cppcheck
Some of them modify the ABI, but given that we prepare a big one already, these few hardly count for much. Git-Dch: Ignore
Diffstat (limited to 'cmdline/apt-extracttemplates.h')
-rw-r--r--cmdline/apt-extracttemplates.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-extracttemplates.h b/cmdline/apt-extracttemplates.h
index 829cdae75..b129a2d51 100644
--- a/cmdline/apt-extracttemplates.h
+++ b/cmdline/apt-extracttemplates.h
@@ -24,7 +24,7 @@ class DebFile : public pkgDirStream
unsigned long ControlLen;
public:
- DebFile(const char *FileName);
+ explicit DebFile(const char *FileName);
~DebFile();
bool DoItem(Item &I, int &fd);
bool Process(pkgDirStream::Item &I, const unsigned char *data,