]> git.saurik.com Git - apt.git/blobdiff - test/libapt/acqprogress_test.cc
abort connection on '.' target replies in SRV
[apt.git] / test / libapt / acqprogress_test.cc
index 50792528dc9cca4c96112f428e831a180c426781..0e82a285dcca7abee78250220dc8754651d8585b 100644 (file)
@@ -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(); }