aboutsummaryrefslogtreecommitdiff
path: root/python/paludis_python.hh
diff options
context:
space:
mode:
Diffstat (limited to 'python/paludis_python.hh')
-rw-r--r--python/paludis_python.hh14
1 files changed, 0 insertions, 14 deletions
diff --git a/python/paludis_python.hh b/python/paludis_python.hh
index 9c6678bdf..0691fee57 100644
--- a/python/paludis_python.hh
+++ b/python/paludis_python.hh
@@ -38,13 +38,6 @@ namespace paludis
{
return p.get();
}
-
- // Make Boost.Python work with std::shared_ptr<const>
- template <typename T_>
- inline T_ * get_pointer(std::shared_ptr<const T_> const & p)
- {
- return const_cast<T_*>(p.get());
- }
}
#endif
@@ -58,13 +51,6 @@ namespace boost
{
typedef T_ type;
};
-
- // Make Boost.Python work with std::shared_ptr<const>
- template <typename T_>
- struct pointee<std::shared_ptr<const T_> >
- {
- typedef T_ type;
- };
}
}