aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/dep_spec.cc7
-rw-r--r--python/exception.cc5
2 files changed, 9 insertions, 3 deletions
diff --git a/python/dep_spec.cc b/python/dep_spec.cc
index 2bee02bf0..26cfa030d 100644
--- a/python/dep_spec.cc
+++ b/python/dep_spec.cc
@@ -1406,6 +1406,9 @@ void expose_dep_spec()
;
}
-template class WrappedForwardIterator<PythonCompositeDepSpec::ConstIteratorTag,
- const std::shared_ptr<const PythonDepSpec> >;
+namespace paludis
+{
+ template class WrappedForwardIterator<PythonCompositeDepSpec::ConstIteratorTag,
+ const std::shared_ptr<const PythonDepSpec> >;
+}
diff --git a/python/exception.cc b/python/exception.cc
index bf4fd190e..b796348c1 100644
--- a/python/exception.cc
+++ b/python/exception.cc
@@ -29,7 +29,10 @@ using namespace paludis;
using namespace paludis::python;
namespace bp = boost::python;
-template class Singleton<ExceptionRegister>;
+namespace paludis
+{
+ template class Singleton<ExceptionRegister>;
+}
RegisteredExceptionBase::~RegisteredExceptionBase()
{