aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/job_state.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-23 08:54:11 +0100
commitdd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a (patch)
treeba2da539f103634b8ddb52a477bbace3b4a52c57 /paludis/resolver/job_state.cc
parent4209b95ecc83365718b3dd5556a6866a662e95c5 (diff)
downloadpaludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.gz
paludis-dd959fd53fbc5c863ec5e9f3571e3af9ff0d8b1a.tar.xz
PrivateImplementationPattern -> Pimp, Implementation -> Imp
Diffstat (limited to 'paludis/resolver/job_state.cc')
-rw-r--r--paludis/resolver/job_state.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/paludis/resolver/job_state.cc b/paludis/resolver/job_state.cc
index 6f0120e8a..24b855e54 100644
--- a/paludis/resolver/job_state.cc
+++ b/paludis/resolver/job_state.cc
@@ -18,7 +18,7 @@
*/
#include <paludis/resolver/job_state.hh>
-#include <paludis/util/private_implementation_pattern-impl.hh>
+#include <paludis/util/pimp-impl.hh>
#include <paludis/util/make_null_shared_ptr.hh>
#include <paludis/serialise-impl.hh>
@@ -28,28 +28,28 @@ using namespace paludis::resolver;
namespace paludis
{
template <>
- struct Implementation<JobActiveState>
+ struct Imp<JobActiveState>
{
std::shared_ptr<OutputManager> output_manager;
};
template <>
- struct Implementation<JobSucceededState>
+ struct Imp<JobSucceededState>
{
const std::shared_ptr<OutputManager> output_manager;
- Implementation(const std::shared_ptr<OutputManager> & m) :
+ Imp(const std::shared_ptr<OutputManager> & m) :
output_manager(m)
{
}
};
template <>
- struct Implementation<JobFailedState>
+ struct Imp<JobFailedState>
{
const std::shared_ptr<OutputManager> output_manager;
- Implementation(const std::shared_ptr<OutputManager> & m) :
+ Imp(const std::shared_ptr<OutputManager> & m) :
output_manager(m)
{
}
@@ -106,7 +106,7 @@ JobSkippedState::serialise(Serialiser & s) const
}
JobActiveState::JobActiveState() :
- PrivateImplementationPattern<JobActiveState>()
+ Pimp<JobActiveState>()
{
}
@@ -153,7 +153,7 @@ JobActiveState::serialise(Serialiser & s) const
}
JobSucceededState::JobSucceededState(const std::shared_ptr<OutputManager> & m) :
- PrivateImplementationPattern<JobSucceededState>(m)
+ Pimp<JobSucceededState>(m)
{
}
@@ -182,7 +182,7 @@ JobSucceededState::serialise(Serialiser & s) const
}
JobFailedState::JobFailedState(const std::shared_ptr<OutputManager> & m) :
- PrivateImplementationPattern<JobFailedState>(m)
+ Pimp<JobFailedState>(m)
{
}