From e206564ebf3cc2970181084813fa2bbe227cbfd5 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Thu, 4 Feb 2016 23:29:29 +0100 Subject: [PATCH] removed a redundant tag --- include/pybind11/pybind11.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/pybind11/pybind11.h b/include/pybind11/pybind11.h index 02b3b7cc..7b816d38 100644 --- a/include/pybind11/pybind11.h +++ b/include/pybind11/pybind11.h @@ -758,19 +758,19 @@ public: template class_ &def(const detail::op_ &op, const Extra&... extra) { - op.template execute(*this, is_method(*this), extra...); + op.template execute(*this, extra...); return *this; } template class_ & def_cast(const detail::op_ &op, const Extra&... extra) { - op.template execute_cast(*this, is_method(*this), extra...); + op.template execute_cast(*this, extra...); return *this; } template class_ &def(const detail::init &init, const Extra&... extra) { - init.template execute(*this, is_method(*this), extra...); + init.template execute(*this, extra...); return *this; }