Skip to content

Commit 6f11a46

Browse files
remove const
1 parent 311fd68 commit 6f11a46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Base/PODVector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ void make_PODVector(py::module &m, std::string typestr, std::string allocstr)
7272
// .def("max_size", &PODVector_type::max_size)
7373
.def("capacity", &PODVector_type::capacity)
7474
.def("empty", &PODVector_type::empty)
75-
.def("resize", [](PODVector_type const & pv, std::size_t new_size){
75+
.def("resize", [](PODVector_type & pv, std::size_t new_size){
7676
pv.resize(new_size); })
77-
.def("resize", [](PODVector_type const & pv, std::size_t new_size, const T& init_val){
77+
.def("resize", [](PODVector_type & pv, std::size_t new_size, const T& init_val){
7878
pv.resize(new_size, init_val); })
79-
.def("reserve", [](PODVector_type const & pv, std::size_t new_capacity){
79+
.def("reserve", [](PODVector_type & pv, std::size_t new_capacity){
8080
pv.reserve(new_capacity); })
8181
.def("shrink_to_fit", &PODVector_type::shrink_to_fit)
8282
.def("to_host", [](PODVector_type const & pv) {

0 commit comments

Comments
 (0)