Browse Source

python: we don't use pybind11 exceptions anymore, so this is not needed.

Also fixes cmpilation with pybind11 >= 2.4.0.
pull/8/head
Vladimír Vondruš 7 years ago
parent
commit
a6dd10ae69
  1. 6
      src/python/corrade/PyBuffer.h

6
src/python/corrade/PyBuffer.h

@ -77,10 +77,4 @@ template<class Class, bool(*getter)(Class&, Py_buffer&, int)> void enableBetterB
} }
/** @todo remove when https://github.com/pybind/pybind11/pull/1852 is merged
and released */
namespace pybind11 {
PYBIND11_RUNTIME_EXCEPTION(buffer_error, PyExc_BufferError)
}
#endif #endif

Loading…
Cancel
Save