From 258b9e512c4001e806c5c0966acecd3d742ec6e9 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 4 Nov 2015 21:08:55 +0100 Subject: apply various suggestions made by cppcheck Reported-By: cppcheck Git-Dch: Ignore --- apt-pkg/indexfile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-pkg/indexfile.h') diff --git a/apt-pkg/indexfile.h b/apt-pkg/indexfile.h index c3f01c774..79abe2f4f 100644 --- a/apt-pkg/indexfile.h +++ b/apt-pkg/indexfile.h @@ -168,7 +168,7 @@ public: virtual bool Merge(pkgCacheGenerator &Gen, OpProgress* const Prog) APT_OVERRIDE; virtual pkgCache::PkgFileIterator FindInCache(pkgCache &Cache) const APT_OVERRIDE; - pkgDebianIndexFile(bool const Trusted); + explicit pkgDebianIndexFile(bool const Trusted); virtual ~pkgDebianIndexFile(); }; -- cgit v1.2.3