Skip to content

Commit 2a6060e

Browse files
committed
Cleanup
[SVN r13283]
1 parent 576269d commit 2a6060e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

test/implicit.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@
88
#include <boost/python/module.hpp>
99
#include "test_class.hpp"
1010

11-
// This test shows that a class can be wrapped "as itself" but also
12-
// acquire a back-reference iff has_back_reference<> is appropriately
13-
// specialized.
1411
using namespace boost::python;
1512

1613
typedef test_class<> X;
17-
typedef test_class<1> Y;
1814

1915
int x_value(X const& x)
2016
{
@@ -35,12 +31,6 @@ BOOST_PYTHON_MODULE_INIT(implicit_ext)
3531
.def("value", &X::value)
3632
.def("set", &X::set)
3733
)
38-
.add(
39-
class_<Y>("Y")
40-
.def_init(args<int>())
41-
.def("value", &Y::value)
42-
.def("set", &Y::set)
43-
)
4434
;
4535
implicitly_convertible<X,int>();
4636
}

0 commit comments

Comments
 (0)