@@ -92,7 +92,7 @@ namespace sofapython3
9292 " isImplicit" _a=mparams->implicit (),
9393 " energy" _a=mparams->energy ());
9494
95- PYBIND11_OVERLOAD_PURE (void , Inherit1, apply, mp,
95+ PYBIND11_OVERRIDE_PURE (void , Inherit1, apply, mp,
9696 PythonFactory::toPython (&out), PythonFactory::toPython (&in));
9797 }
9898
@@ -108,7 +108,7 @@ namespace sofapython3
108108 " isImplicit" _a=mparams->implicit (),
109109 " energy" _a=mparams->energy ());
110110
111- PYBIND11_OVERLOAD_PURE (void , Inherit1, applyJ, mp,
111+ PYBIND11_OVERRIDE_PURE (void , Inherit1, applyJ, mp,
112112 PythonFactory::toPython (&out), PythonFactory::toPython (&in));
113113 }
114114
@@ -123,7 +123,7 @@ namespace sofapython3
123123 " isImplicit" _a=mparams->implicit (),
124124 " energy" _a=mparams->energy ());
125125
126- PYBIND11_OVERLOAD_PURE (void , Inherit1, applyJT, mp,
126+ PYBIND11_OVERRIDE_PURE (void , Inherit1, applyJT, mp,
127127 PythonFactory::toPython (&out), PythonFactory::toPython (&in));
128128 }
129129
@@ -135,7 +135,7 @@ namespace sofapython3
135135
136136 py::dict mp = py::dict (" time" _a=getContext ()->getTime ());
137137
138- PYBIND11_OVERLOAD_PURE (void , Inherit1, applyConstraintsJT, mp,
138+ PYBIND11_OVERRIDE_PURE (void , Inherit1, applyConstraintsJT, mp,
139139 PythonFactory::toPython (&out), PythonFactory::toPython (&in));
140140 }
141141
0 commit comments