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-pkg/algorithms.cc | |
parent | 9fb4e6510faaa9c84b88d4cb567bf3deebf8e0b7 (diff) |
apply various suggestions made by cppcheck
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r-- | apt-pkg/algorithms.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc index d25cbd63a..4b84b8324 100644 --- a/apt-pkg/algorithms.cc +++ b/apt-pkg/algorithms.cc @@ -1315,7 +1315,7 @@ void pkgProblemResolver::InstallProtect() struct PrioComp { pkgCache &PrioCache; - PrioComp(pkgCache &PrioCache) : PrioCache(PrioCache) { + explicit PrioComp(pkgCache &PrioCache) : PrioCache(PrioCache) { } bool operator() (pkgCache::Version * const &A, pkgCache::Version * const &B) { |