aboutsummaryrefslogtreecommitdiff
path: root/python/dep_label.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-04-26 13:59:04 +0000
commit118de550d2dc5508ff4446bdf7f2ddf7b497b9ba (patch)
tree5ced2de062474cb8e6537e68d71cbc7c5a80e802 /python/dep_label.cc
parentf76a3a0a7b38b5a3652a9e9bcb13942483f7c53a (diff)
downloadpaludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.gz
paludis-118de550d2dc5508ff4446bdf7f2ddf7b497b9ba.tar.xz
paludis::tr1:: is dead. We no longer support compilers that don't do tr1 (that means you, gcc-3).
Diffstat (limited to 'python/dep_label.cc')
-rw-r--r--python/dep_label.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/python/dep_label.cc b/python/dep_label.cc
index e90e29665..2477be1a4 100644
--- a/python/dep_label.cc
+++ b/python/dep_label.cc
@@ -29,33 +29,33 @@ namespace bp = boost::python;
template <typename L_>
struct class_concrete_uri_label :
- bp::class_<L_, tr1::shared_ptr<L_>, bp::bases<URILabel>, boost::noncopyable>
+ bp::class_<L_, std::tr1::shared_ptr<L_>, bp::bases<URILabel>, boost::noncopyable>
{
class_concrete_uri_label(const std::string & name) :
- bp::class_<L_, tr1::shared_ptr<L_>, bp::bases<URILabel>, boost::noncopyable>
+ bp::class_<L_, std::tr1::shared_ptr<L_>, bp::bases<URILabel>, boost::noncopyable>
(
name.c_str(),
"A concrete URI label class.",
bp::init<const std::string &>("__init__(string)")
)
{
- bp::implicitly_convertible<tr1::shared_ptr<L_>, tr1::shared_ptr<URILabel> >();
+ bp::implicitly_convertible<std::tr1::shared_ptr<L_>, std::tr1::shared_ptr<URILabel> >();
}
};
template <typename L_, typename C_>
struct class_concrete_dependency_label :
- bp::class_<L_, tr1::shared_ptr<L_>, bp::bases<C_>, boost::noncopyable>
+ bp::class_<L_, std::tr1::shared_ptr<L_>, bp::bases<C_>, boost::noncopyable>
{
class_concrete_dependency_label(const std::string & name, const std::string & doc) :
- bp::class_<L_, tr1::shared_ptr<L_>, bp::bases<C_>, boost::noncopyable>
+ bp::class_<L_, std::tr1::shared_ptr<L_>, bp::bases<C_>, boost::noncopyable>
(
name.c_str(),
doc.c_str(),
bp::init<const std::string &>("__init__(string)")
)
{
- bp::implicitly_convertible<tr1::shared_ptr<L_>, tr1::shared_ptr<C_> >();
+ bp::implicitly_convertible<std::tr1::shared_ptr<L_>, std::tr1::shared_ptr<C_> >();
}
};
@@ -110,7 +110,7 @@ void expose_dep_label()
/**
* DependencySystemLabel
*/
- bp::implicitly_convertible<tr1::shared_ptr<DependencySystemLabel>, tr1::shared_ptr<DependencyLabel> >();
+ bp::implicitly_convertible<std::tr1::shared_ptr<DependencySystemLabel>, std::tr1::shared_ptr<DependencyLabel> >();
register_shared_ptrs_to_python<DependencySystemLabel>();
bp::class_<DependencySystemLabel, bp::bases<DependencyLabel>, boost::noncopyable>
(
@@ -122,7 +122,7 @@ void expose_dep_label()
/**
* DependencyTypeLabel
*/
- bp::implicitly_convertible<tr1::shared_ptr<DependencyTypeLabel>, tr1::shared_ptr<DependencyLabel> >();
+ bp::implicitly_convertible<std::tr1::shared_ptr<DependencyTypeLabel>, std::tr1::shared_ptr<DependencyLabel> >();
register_shared_ptrs_to_python<DependencyTypeLabel>();
bp::class_<DependencyTypeLabel, bp::bases<DependencyLabel>, boost::noncopyable>
(
@@ -134,7 +134,7 @@ void expose_dep_label()
/**
* DependencySuggestLabel
*/
- bp::implicitly_convertible<tr1::shared_ptr<DependencySuggestLabel>, tr1::shared_ptr<DependencyLabel> >();
+ bp::implicitly_convertible<std::tr1::shared_ptr<DependencySuggestLabel>, std::tr1::shared_ptr<DependencyLabel> >();
register_shared_ptrs_to_python<DependencySuggestLabel>();
bp::class_<DependencySuggestLabel, bp::bases<DependencyLabel>, boost::noncopyable>
(
@@ -146,7 +146,7 @@ void expose_dep_label()
/**
* DependencyABIsLabel
*/
- bp::implicitly_convertible<tr1::shared_ptr<DependencyABIsLabel>, tr1::shared_ptr<DependencyLabel> >();
+ bp::implicitly_convertible<std::tr1::shared_ptr<DependencyABIsLabel>, std::tr1::shared_ptr<DependencyLabel> >();
register_shared_ptrs_to_python<DependencyABIsLabel>();
bp::class_<DependencyABIsLabel, bp::bases<DependencyLabel>, boost::noncopyable>
(