Skip to content
Snippets Groups Projects
Commit 6858b4eb authored by Joris Vaillant's avatar Joris Vaillant Committed by Justin Carpentier
Browse files

core: use `bp` instead of `boost::python`

parent e6e70ed0
No related branches found
No related tags found
No related merge requests found
......@@ -419,16 +419,15 @@ struct StdVectorPythonVisitor {
}
template <typename DerivedVisitor>
static void expose(
const std::string &class_name,
const boost::python::def_visitor<DerivedVisitor> &visitor) {
static void expose(const std::string &class_name,
const bp::def_visitor<DerivedVisitor> &visitor) {
expose(class_name, "", visitor);
}
template <typename DerivedVisitor>
static void expose(
const std::string &class_name, const std::string &doc_string,
const boost::python::def_visitor<DerivedVisitor> &visitor) {
static void expose(const std::string &class_name,
const std::string &doc_string,
const bp::def_visitor<DerivedVisitor> &visitor) {
// Apply visitor on already registered type or if type is not already
// registered, we define and apply the visitor on it
auto add_std_visitor =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment