- {
- ProblemSolutionIgnore::ProblemSolutionIgnore( PoolItem item )
- // TranslatorExplanation %s = name of package, patch, selection ...
- : ProblemSolution( str::form(_("break %s by ignoring some of its dependencies"), item.satSolvable().asString().c_str() ) )
- {
- addAction( new InjectSolutionAction( item, WEAK ) );
- }
-
- ProblemSolutionIgnore::ProblemSolutionIgnore( PoolItemList itemList )
- : ProblemSolution( _("generally ignore of some dependencies") )
- {
- for ( const auto & item : itemList)
- { addAction( new InjectSolutionAction( item, WEAK ) ); }
- }
-
- } // namespace detail
+ { ///////////////////////////////////////////////////////////////////
+
+IMPL_PTR_TYPE(ProblemSolutionIgnore);
+
+//---------------------------------------------------------------------------
+
+ProblemSolutionIgnore::ProblemSolutionIgnore( ResolverProblem_Ptr parent,
+ PoolItem item )
+ : ProblemSolution (parent, "", "")
+{
+ // TranslatorExplanation %s = name of package, patch, selection ...
+ _description = str::form (_("break %s by ignoring some of its dependencies"), item.satSolvable().asString().c_str() );
+
+ addAction ( new InjectSolutionAction (item, WEAK));
+}
+
+ProblemSolutionIgnore::ProblemSolutionIgnore( ResolverProblem_Ptr parent,
+ PoolItemList itemList )
+ : ProblemSolution (parent, "", "")
+{
+ _description = _("generally ignore of some dependecies");
+ for (PoolItemList::const_iterator iter = itemList.begin();
+ iter != itemList.end(); iter++) {
+ addAction ( new InjectSolutionAction (*iter, WEAK));
+ }
+}
+
+ ///////////////////////////////////////////////////////////////////
+ };// namespace detail
+ /////////////////////////////////////////////////////////////////////