File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -263,15 +263,15 @@ namespace xt
263
263
}
264
264
265
265
template <class T >
266
- inline pyarray<T>::pyarray(pybind11::handle h, pybind11::object::borrowed_t )
267
- : base_type(h, pybind11::object::borrowed )
266
+ inline pyarray<T>::pyarray(pybind11::handle h, pybind11::object::borrowed_t b )
267
+ : base_type(h, b )
268
268
{
269
269
init_from_python ();
270
270
}
271
271
272
272
template <class T >
273
- inline pyarray<T>::pyarray(pybind11::handle h, pybind11::object::stolen_t )
274
- : base_type(h, pybind11::object::stolen )
273
+ inline pyarray<T>::pyarray(pybind11::handle h, pybind11::object::stolen_t s )
274
+ : base_type(h, s )
275
275
{
276
276
init_from_python ();
277
277
}
Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ namespace xt
132
132
}
133
133
134
134
template <class D >
135
- inline pycontainer<D>::pycontainer(pybind11::handle h, borrowed_t )
136
- : pybind11::object(h, borrowed )
135
+ inline pycontainer<D>::pycontainer(pybind11::handle h, borrowed_t b )
136
+ : pybind11::object(h, b )
137
137
{
138
138
}
139
139
140
140
template <class D >
141
- inline pycontainer<D>::pycontainer(pybind11::handle h, stolen_t )
142
- : pybind11::object(h, stolen )
141
+ inline pycontainer<D>::pycontainer(pybind11::handle h, stolen_t s )
142
+ : pybind11::object(h, s )
143
143
{
144
144
}
145
145
Original file line number Diff line number Diff line change @@ -176,15 +176,15 @@ namespace xt
176
176
}
177
177
178
178
template <class T , std::size_t N>
179
- inline pytensor<T, N>::pytensor(pybind11::handle h, pybind11::object::borrowed_t )
180
- : base_type(h, pybind11::object::borrowed )
179
+ inline pytensor<T, N>::pytensor(pybind11::handle h, pybind11::object::borrowed_t b )
180
+ : base_type(h, b )
181
181
{
182
182
init_from_python ();
183
183
}
184
184
185
185
template <class T , std::size_t N>
186
- inline pytensor<T, N>::pytensor(pybind11::handle h, pybind11::object::stolen_t )
187
- : base_type(h, pybind11::object::stolen )
186
+ inline pytensor<T, N>::pytensor(pybind11::handle h, pybind11::object::stolen_t s )
187
+ : base_type(h, s )
188
188
{
189
189
init_from_python ();
190
190
}
You can’t perform that action at this time.
0 commit comments