aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-05 14:38:37 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-02-05 15:33:40 +0000
commitea3e0c062d500308e818736cc51bbbbc1d13a9d5 (patch)
treefff057785c2e2cfa511329a019d0974fb6494034
parent8b8f9ca2401a8ca36c44b18213f82f0dbadc2b27 (diff)
downloadpaludis-ea3e0c062d500308e818736cc51bbbbc1d13a9d5.tar.gz
paludis-ea3e0c062d500308e818736cc51bbbbc1d13a9d5.tar.xz
enable_shared_from RemoveDecision
-rw-r--r--paludis/resolver/decision.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/paludis/resolver/decision.hh b/paludis/resolver/decision.hh
index 12fb6f1..b2225f8 100644
--- a/paludis/resolver/decision.hh
+++ b/paludis/resolver/decision.hh
@@ -127,7 +127,8 @@ namespace paludis
class PALUDIS_VISIBLE RemoveDecision :
public Decision,
public ImplementAcceptMethods<Decision, RemoveDecision>,
- private PrivateImplementationPattern<RemoveDecision>
+ private PrivateImplementationPattern<RemoveDecision>,
+ public std::tr1::enable_shared_from_this<RemoveDecision>
{
public:
RemoveDecision(const bool taken);