aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/job_state.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 21:46:00 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 21:46:00 +0100
commit4209b95ecc83365718b3dd5556a6866a662e95c5 (patch)
tree2adf8c110af7f7979685fa1a3743230f8c370c83 /paludis/resolver/job_state.cc
parent99ca317486703808bec65846a6266afdace5d0f7 (diff)
downloadpaludis-4209b95ecc83365718b3dd5556a6866a662e95c5.tar.gz
paludis-4209b95ecc83365718b3dd5556a6866a662e95c5.tar.xz
Less verbose PrivateImplementationPattern
Diffstat (limited to 'paludis/resolver/job_state.cc')
-rw-r--r--paludis/resolver/job_state.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/resolver/job_state.cc b/paludis/resolver/job_state.cc
index ab49d293c..6f0120e8a 100644
--- a/paludis/resolver/job_state.cc
+++ b/paludis/resolver/job_state.cc
@@ -106,7 +106,7 @@ JobSkippedState::serialise(Serialiser & s) const
}
JobActiveState::JobActiveState() :
- PrivateImplementationPattern<JobActiveState>(new Implementation<JobActiveState>)
+ PrivateImplementationPattern<JobActiveState>()
{
}
@@ -153,7 +153,7 @@ JobActiveState::serialise(Serialiser & s) const
}
JobSucceededState::JobSucceededState(const std::shared_ptr<OutputManager> & m) :
- PrivateImplementationPattern<JobSucceededState>(new Implementation<JobSucceededState>(m))
+ PrivateImplementationPattern<JobSucceededState>(m)
{
}
@@ -182,7 +182,7 @@ JobSucceededState::serialise(Serialiser & s) const
}
JobFailedState::JobFailedState(const std::shared_ptr<OutputManager> & m) :
- PrivateImplementationPattern<JobFailedState>(new Implementation<JobFailedState>(m))
+ PrivateImplementationPattern<JobFailedState>(m)
{
}