From a6dd10ae6977db6eee1e6b60fd35764bed4a564a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 25 Sep 2019 16:03:56 +0200 Subject: [PATCH] python: we don't use pybind11 exceptions anymore, so this is not needed. Also fixes cmpilation with pybind11 >= 2.4.0. --- src/python/corrade/PyBuffer.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/python/corrade/PyBuffer.h b/src/python/corrade/PyBuffer.h index b04a162..76ba358 100644 --- a/src/python/corrade/PyBuffer.h +++ b/src/python/corrade/PyBuffer.h @@ -77,10 +77,4 @@ template 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