From 1d4e93fdfd12eb6d5537d58d93aeb30d2e91a449 Mon Sep 17 00:00:00 2001 From: Michael Andres Date: Tue, 13 Oct 2009 11:45:54 +0200 Subject: [PATCH] DeltaCandidates: provide a default ctor --- zypp/repo/DeltaCandidates.cc | 8 ++++++++ zypp/repo/DeltaCandidates.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/zypp/repo/DeltaCandidates.cc b/zypp/repo/DeltaCandidates.cc index d6bf339..1cf4950 100644 --- a/zypp/repo/DeltaCandidates.cc +++ b/zypp/repo/DeltaCandidates.cc @@ -32,6 +32,9 @@ namespace zypp struct DeltaCandidates::Impl { public: + Impl() + {} + Impl( const std::list & repos, const std::string & pkgname = "" ) : repos(repos), pkgname(pkgname) {} @@ -59,6 +62,11 @@ namespace zypp // /////////////////////////////////////////////////////////////////// + DeltaCandidates::DeltaCandidates() + : _pimpl( new Impl ) + {} + + DeltaCandidates::DeltaCandidates(const std::list & repos, const std::string & pkgname) : _pimpl( new Impl(repos, pkgname) ) diff --git a/zypp/repo/DeltaCandidates.h b/zypp/repo/DeltaCandidates.h index 778a8f6..e59cd12 100644 --- a/zypp/repo/DeltaCandidates.h +++ b/zypp/repo/DeltaCandidates.h @@ -42,10 +42,10 @@ namespace zypp class Impl; public: + DeltaCandidates(); /** * \short Creates a candidate calculator * \param repos Set of repositories providing patch and delta packages - * \param installed_callback Will be used to ask if a package is installed or not */ DeltaCandidates( const std::list & repos, const std::string & pkgname = "" ); /** Dtor */ -- 2.7.4