Skip to content

Commit 6858b4e

Browse files
jorisvjcarpent
authored andcommitted
core: use bp instead of boost::python
1 parent e6e70ed commit 6858b4e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

include/eigenpy/std-vector.hpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -419,16 +419,15 @@ struct StdVectorPythonVisitor {
419419
}
420420

421421
template <typename DerivedVisitor>
422-
static void expose(
423-
const std::string &class_name,
424-
const boost::python::def_visitor<DerivedVisitor> &visitor) {
422+
static void expose(const std::string &class_name,
423+
const bp::def_visitor<DerivedVisitor> &visitor) {
425424
expose(class_name, "", visitor);
426425
}
427426

428427
template <typename DerivedVisitor>
429-
static void expose(
430-
const std::string &class_name, const std::string &doc_string,
431-
const boost::python::def_visitor<DerivedVisitor> &visitor) {
428+
static void expose(const std::string &class_name,
429+
const std::string &doc_string,
430+
const bp::def_visitor<DerivedVisitor> &visitor) {
432431
// Apply visitor on already registered type or if type is not already
433432
// registered, we define and apply the visitor on it
434433
auto add_std_visitor =

0 commit comments

Comments
 (0)