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 /test | |
parent | 9fb4e6510faaa9c84b88d4cb567bf3deebf8e0b7 (diff) | |
download | apt-258b9e512c4001e806c5c0966acecd3d742ec6e9.tar.gz |
apply various suggestions made by cppcheck
Reported-By: cppcheck
Git-Dch: Ignore
Diffstat (limited to 'test')
-rw-r--r-- | test/libapt/acqprogress_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/acqprogress_test.cc b/test/libapt/acqprogress_test.cc index 50792528d..0e82a285d 100644 --- a/test/libapt/acqprogress_test.cc +++ b/test/libapt/acqprogress_test.cc @@ -11,7 +11,7 @@ class TestItem: public pkgAcquire::Item { public: - TestItem(pkgAcquire * const Acq) : pkgAcquire::Item(Acq) {} + explicit TestItem(pkgAcquire * const Acq) : pkgAcquire::Item(Acq) {} virtual std::string DescURI() const APT_OVERRIDE { return ""; } virtual HashStringList GetExpectedHashes() const APT_OVERRIDE { return HashStringList(); } |