From 32ef69acde3b3345411fec40317f34cba423f075 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Tue, 24 Oct 2017 17:59:50 -0300 Subject: [PATCH] Qualify `cast_op_type` to help ICC --- include/pybind11/cast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/cast.h b/include/pybind11/cast.h index 977c9897..715ec932 100644 --- a/include/pybind11/cast.h +++ b/include/pybind11/cast.h @@ -835,7 +835,7 @@ public: nullptr, nullptr, holder); } - template using cast_op_type = cast_op_type; + template using cast_op_type = detail::cast_op_type; operator itype*() { return (type *) value; } operator itype&() { if (!value) throw reference_cast_error(); return *((itype *) value); }