From 7947a117c9cedfef284293ec91334f269cd88a02 Mon Sep 17 00:00:00 2001 From: Klaus Kaempf Date: Wed, 25 Jan 2006 19:32:56 +0000 Subject: [PATCH] make the CallOnCapMatchIn () callback non-const as it needs to manipulate other values in the struct --- zypp/ResFilters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zypp/ResFilters.h b/zypp/ResFilters.h index fb5abbf..b079b1c 100644 --- a/zypp/ResFilters.h +++ b/zypp/ResFilters.h @@ -270,7 +270,7 @@ namespace zypp template struct CallOnCapMatchIn { - bool operator()( PoolItem & p ) const + bool operator()( PoolItem & p ) { const CapSet & depSet( p->dep( _dep ) ); // dependency set in p to iterate capfilter::ByCapMatch matching( _cap ); // predicate: true if match with _cap -- 2.7.4