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 --- test/libapt/acqprogress_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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(); } -- cgit v1.2.3-70-g09d2