From a975ab25017fbc415b059d0b97dfc066ceb78ee9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 19 Jul 2016 17:35:09 +0200 Subject: [PATCH] minor namespace change in example --- example/example-stl-binder-vector.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/example/example-stl-binder-vector.cpp b/example/example-stl-binder-vector.cpp index fa687a2d6..d02ed09f7 100644 --- a/example/example-stl-binder-vector.cpp +++ b/example/example-stl-binder-vector.cpp @@ -25,13 +25,13 @@ std::ostream & operator<<(std::ostream &s, El const&v) { } void init_ex_stl_binder_vector(py::module &m) { - pybind11::class_(m, "El") - .def(pybind11::init()); + py::class_(m, "El") + .def(py::init()); - pybind11::bind_vector(m, "VectorInt"); - pybind11::bind_vector(m, "VectorBool"); + py::bind_vector(m, "VectorInt"); + py::bind_vector(m, "VectorBool"); - pybind11::bind_vector(m, "VectorEl"); + py::bind_vector(m, "VectorEl"); - pybind11::bind_vector>(m, "VectorVectorEl"); + py::bind_vector>(m, "VectorVectorEl"); }