projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34bcf61
)
use const_pointer_cast to un-const
author
Klaus Kaempf
<kkaempf@suse.de>
Thu, 19 Jan 2006 12:16:48 +0000
(12:16 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Thu, 19 Jan 2006 12:16:48 +0000
(12:16 +0000)
testsuite/solver/deptestomatic.cc
patch
|
blob
|
history
diff --git
a/testsuite/solver/deptestomatic.cc
b/testsuite/solver/deptestomatic.cc
index 5586e9b0accc4b9b319bd40ca5860efdd9a6b0aa..dc646289b083e978bb341aff2075126790720e25 100644
(file)
--- a/
testsuite/solver/deptestomatic.cc
+++ b/
testsuite/solver/deptestomatic.cc
@@
-594,10
+594,9
@@
parse_xml_setup (XmlNode_Ptr node)
if (!system_channel)
fprintf (stderr, "No system channel available!\n");
-#warning force-install disabled
-// ResItem_Ptr r = ResItem_Ptr::cast_away_const(resItem);
-// r->setChannel (system_channel);
-// r->setInstalled (true);
+ ResItem_Ptr r = boost::const_pointer_cast<ResItem>(resItem);
+ r->setChannel (system_channel);
+ r->setInstalled (true);
} else {
fprintf (stderr, "Unknown package %s::%s\n", channel_name.c_str(), package_name.c_str());
}