diff --git a/dune/xt/common/exceptions.bindings.hh b/dune/xt/common/exceptions.bindings.hh index 6e3eafe1a7c8f4c0f59898bf470271b9ebea7121..ef42194a04eeadcb3641ed31f1e1a92c76598853 100644 --- a/dune/xt/common/exceptions.bindings.hh +++ b/dune/xt/common/exceptions.bindings.hh @@ -50,7 +50,7 @@ void addbind_exceptions(pybind11::module& m) dune_exc(e.what()); #if HAVE_TBB } catch (const tbb::tbb_exception& e) { - tbb_exc(std::string(e.name() + ": " + e.what()).c_str()); + tbb_exc((std::string(e.name()) + ": " + e.what()).c_str()); #endif } catch (const std::exception& e) { std_exc(e.what());