Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <libzypp> master : Adapt to changed satsolver api.
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Tue, 30 Jun 2009 13:00:14 +0200
  • Message-id: <E1MLb4a-0004v7-RR@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 50c8f37d6190c43a95049c6a5378d4b8405ac8bc
Author: Michael Andres <ma@xxxxxxx>
Date: Tue Jun 30 13:00:14 2009 +0200

Adapt to changed satsolver api.
---
zypp/sat/LookupAttr.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/zypp/sat/LookupAttr.cc b/zypp/sat/LookupAttr.cc
index f184502..750b081 100644
--- a/zypp/sat/LookupAttr.cc
+++ b/zypp/sat/LookupAttr.cc
@@ -541,7 +541,7 @@ namespace zypp
case REPOKEY_TYPE_IDARRAY:
case REPOKEY_TYPE_CONSTANTID:
{
- detail::IdType id = ::repodata_globalize_id( _dip->data,
_dip->kv.id );
+ detail::IdType id = ::repodata_globalize_id( _dip->data,
_dip->kv.id, 1 );
return ISRELDEP(id) ? Capability( id ).asString()
: IdString( id ).asString();
}
@@ -595,7 +595,7 @@ namespace zypp
case REPOKEY_TYPE_ID:
case REPOKEY_TYPE_IDARRAY:
case REPOKEY_TYPE_CONSTANTID:
- return IdString( ::repodata_globalize_id( _dip->data, _dip->kv.id
) );
+ return IdString( ::repodata_globalize_id( _dip->data, _dip->kv.id,
1 ) );
break;
}
}
@@ -671,7 +671,7 @@ namespace zypp

detail::IdType LookupAttr::iterator::dereference() const
{
- return _dip ? ::repodata_globalize_id( _dip->data, _dip->kv.id )
+ return _dip ? ::repodata_globalize_id( _dip->data, _dip->kv.id, 1 )
: detail::noId;
}

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages