aboutsummaryrefslogtreecommitdiff
path: root/python/dep_label.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2013-02-09 21:18:47 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2013-02-09 21:18:47 +0000
commit6bda8b8b0d4a872d68a814a055cc779e432d9a66 (patch)
treeaac521f8ce5614f04b441689d62dea805337262f /python/dep_label.cc
parent37dcc139d82459147556f0290268537946f04371 (diff)
downloadpaludis-6bda8b8b0d4a872d68a814a055cc779e432d9a66.tar.gz
paludis-6bda8b8b0d4a872d68a814a055cc779e432d9a66.tar.xz
Fix Python with GCC 4.7
Fixes: ticket:1259
Diffstat (limited to 'python/dep_label.cc')
-rw-r--r--python/dep_label.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/dep_label.cc b/python/dep_label.cc
index 95b05c19d..c1d639ad5 100644
--- a/python/dep_label.cc
+++ b/python/dep_label.cc
@@ -66,7 +66,7 @@ struct class_concrete_dependencies_label :
bp::no_init
)
{
- def("__init__",
+ this->def("__init__",
bp::make_constructor(&make_concrete_dependencies_label<L_>),
"__init__(String)"
);