From 29c5c6d798ad553197c068a7375305df9cd79768 Mon Sep 17 00:00:00 2001 From: Tobias Leibner <tobias.leibner@googlemail.com> Date: Mon, 19 Jun 2017 15:14:00 +0200 Subject: [PATCH] [exceptions.bindings] fix headercheck --- dune/xt/common/exceptions.bindings.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/xt/common/exceptions.bindings.hh b/dune/xt/common/exceptions.bindings.hh index 6e3eafe1a..ef42194a0 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()); -- GitLab