diff --git a/pyhelpers/vector_list_conversion.hpp b/pyhelpers/vector_list_conversion.hpp index 44ecfa24d3..d39bc91a0c 100644 --- a/pyhelpers/vector_list_conversion.hpp +++ b/pyhelpers/vector_list_conversion.hpp @@ -6,10 +6,8 @@ namespace { -using namespace boost::python; - template -inline vector python_list_to_std_vector(boost::python::object const & iterable) +vector python_list_to_std_vector(boost::python::object const & iterable) { return vector(boost::python::stl_input_iterator(iterable), boost::python::stl_input_iterator());