Skip to content

Commit 890280a

Browse files
committed
Explicitly state template parameter
1 parent 76af1ed commit 890280a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/binding/python/Series.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,10 @@ not possible once it has been closed.
387387
std::tuple<py::object, std::string>,
388388
std::tuple<py::object, py::object>
389389
#endif
390-
>::template call(cl);
390+
>::template call<py::class_<Series, Attributable> &>(cl);
391+
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
392+
// need to explicitly state template parameters, otherwise Clang on
393+
// Windows does not understand that it really is a template
391394

392395
cl.def("__bool__", &Series::operator bool)
393396
.def("__len__", [](Series const &s) { return s.iterations.size(); })

0 commit comments

Comments
 (0)