aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/private_implementation_pattern-impl.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/util/private_implementation_pattern-impl.hh')
-rw-r--r--paludis/util/private_implementation_pattern-impl.hh14
1 files changed, 14 insertions, 0 deletions
diff --git a/paludis/util/private_implementation_pattern-impl.hh b/paludis/util/private_implementation_pattern-impl.hh
index 83a9967..a16223d 100644
--- a/paludis/util/private_implementation_pattern-impl.hh
+++ b/paludis/util/private_implementation_pattern-impl.hh
@@ -49,6 +49,20 @@ paludis::PrivateImplementationPattern<C_>::ImpPtr::operator-> () const
}
template <typename C_>
+paludis::Implementation<C_> *
+paludis::PrivateImplementationPattern<C_>::ImpPtr::get()
+{
+ return _ptr;
+}
+
+template <typename C_>
+const paludis::Implementation<C_> *
+paludis::PrivateImplementationPattern<C_>::ImpPtr::get() const
+{
+ return _ptr;
+}
+
+template <typename C_>
void
paludis::PrivateImplementationPattern<C_>::ImpPtr::reset(Implementation<C_> * p)
{