aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-24 17:46:41 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-24 17:47:10 +0000
commit3c88e64fff4d1cef855274aa30e10f7924e90740 (patch)
tree4a54e4dcd60ea1fc33fdae42bdf687031b71a766
parent565efcf8bf3f4a06d74f15257207361877693eac (diff)
downloadpaludis-3c88e64fff4d1cef855274aa30e10f7924e90740.tar.gz
paludis-3c88e64fff4d1cef855274aa30e10f7924e90740.tar.xz
hate
-rw-r--r--paludis/resolver/resolver_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/resolver/resolver_test.cc b/paludis/resolver/resolver_test.cc
index 989746e..d82eb95 100644
--- a/paludis/resolver/resolver_test.cc
+++ b/paludis/resolver/resolver_test.cc
@@ -95,7 +95,7 @@ paludis::resolver::resolver_test::get_resolvents_for_fn(const PackageDepSpec & s
const std::tr1::shared_ptr<const Reason> &)
{
std::tr1::shared_ptr<Resolvents> result(new Resolvents);
- result->push_back(Resolvent(spec, slot ? slot : make_shared_ptr(new const SlotName("0")), dt_install_to_slash));
+ result->push_back(Resolvent(spec, slot ? *slot : SlotName("0"), dt_install_to_slash));
return result;
}