diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-11-04 21:08:55 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-11-05 12:21:33 +0100 |
commit | 258b9e512c4001e806c5c0966acecd3d742ec6e9 (patch) | |
tree | c8bdbb43dd9e1b5d54b90e4845065a653d585ca5 /apt-private/private-cachefile.h | |
parent | 9fb4e6510faaa9c84b88d4cb567bf3deebf8e0b7 (diff) |
apply various suggestions made by cppcheck
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'apt-private/private-cachefile.h')
-rw-r--r-- | apt-private/private-cachefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-cachefile.h b/apt-private/private-cachefile.h index 51703b0ad..27642e025 100644 --- a/apt-private/private-cachefile.h +++ b/apt-private/private-cachefile.h @@ -46,7 +46,7 @@ class SortedPackageUniverse : public APT::PackageUniverse void LazyInit() const; public: - SortedPackageUniverse(CacheFile &Cache); + explicit SortedPackageUniverse(CacheFile &Cache); class const_iterator : public APT::Container_iterator_base<APT::PackageContainerInterface, SortedPackageUniverse, SortedPackageUniverse::const_iterator, std::vector<map_pointer_t>::const_iterator, pkgCache::PkgIterator> { |