ref: refs/heads/ma-misc
commit 1d4e93fdfd12eb6d5537d58d93aeb30d2e91a449
Author: Michael Andres
Date: Tue Oct 13 11:45:54 2009 +0200
DeltaCandidates: provide a default ctor
---
zypp/repo/DeltaCandidates.cc | 8 ++++++++
zypp/repo/DeltaCandidates.h | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
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<Repository> & 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<Repository> & 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<Repository> & repos, const std::string & pkgname = "" );
/** Dtor */
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org