#include "zypp/solver/detail/ResolverContext.h"
#include "zypp/solver/detail/ResolverInfoMisc.h"
+#undef _DEBUG
+#define _DEBUG(x)
+
/////////////////////////////////////////////////////////////////////////
namespace zypp
{ ///////////////////////////////////////////////////////////////////////
{
ResStatus status = getStatus(item);
-DBG << "ResolverContext::itemIsPresent(<" << status << ">" << item << ")" << endl;
+_DEBUG("ResolverContext::itemIsPresent(<" << status << ">" << item << ")");
return (status.staysInstalled()
|| ((status.isToBeInstalled() || status.isToBeInstalledSoft())
status = getStatus(item);
-DBG << "ResolverContext::itemIsAbsent(<" << status << ">" << item << ")" << endl;
+_DEBUG("ResolverContext::itemIsAbsent(<" << status << ">" << item << ")");
// DONT add incomplete here, uninstall requests for incompletes must be handled
invokeOnEach( pool().byCapabilityIndexBegin( dependency.index(), dep ),
pool().byCapabilityIndexEnd( dependency.index(), dep ),
resfilter::callOnCapMatchIn( dep, dependency, functor::functorRef<bool,PoolItem,Capability>(info) ) );
- MIL << "requirementIsPossible( " << dependency << ") = " << (info.flag ? "Y" : "N") << endl;
+ _DEBUG("requirementIsPossible( " << dependency << ") = " << (info.flag ? "Y" : "N"));
return info.flag;
}
info.other = item;
info.flag = false;
foreachMarked (dup_name_check_cb, (void *)&info);
- MIL << "isParallelInstall(" << item << ") = " << (info.flag ? "Y" : "N") << endl;
+ _DEBUG("isParallelInstall(" << item << ") = " << (info.flag ? "Y" : "N"));
return info.flag;
}