X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=zypp%2Fsat%2FSolvableSet.h;h=e4a839153e1a82fe353cbce4ff34278fdc383446;hb=95763429e4df1295fd4e9472af6bb8763231f557;hp=a981cacfb92ff98422fddbcd06d8ddc0b4f1c556;hpb=57f0b183ee76e8d44a406ec8308a1544cc739658;p=platform%2Fupstream%2Flibzypp.git diff --git a/zypp/sat/SolvableSet.h b/zypp/sat/SolvableSet.h index a981cac..e4a8391 100644 --- a/zypp/sat/SolvableSet.h +++ b/zypp/sat/SolvableSet.h @@ -49,8 +49,8 @@ namespace zypp {} /** Ctor building a set from a range. */ - template - SolvableSet( _InputIterator begin_r, _InputIterator end_r ) + template + SolvableSet( TInputIterator begin_r, TInputIterator end_r ) : _pimpl( new Container( begin_r, end_r ) ) {} @@ -64,8 +64,8 @@ namespace zypp { return _pimpl->size(); } /** */ - template - bool contains( const _Solv & solv_r ) const + template + bool contains( const TSolv & solv_r ) const { return( get().count( asSolvable()( solv_r ) ) ); } /** Iterator pointing to the first \ref Solvable. */ @@ -81,8 +81,8 @@ namespace zypp /** Insert a Solvable. * \return \c true if it was actually inserted, or \c false if already present. */ - template - bool insert( const _Solv & solv_r ) + template + bool insert( const TSolv & solv_r ) { return get().insert( asSolvable()( solv_r ) ).second; } public: