From c29b081b4b593a8f66aa17ee6a6ad37f139978c9 Mon Sep 17 00:00:00 2001 From: Soeren Peters <peters@irmb.tu-bs.de> Date: Thu, 13 Apr 2023 13:47:17 +0000 Subject: [PATCH] Remove add_ostream_redirect call in bindings. --- pythonbindings/src/VirtualFluids.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pythonbindings/src/VirtualFluids.cpp b/pythonbindings/src/VirtualFluids.cpp index 20e5012e0..91682b79e 100644 --- a/pythonbindings/src/VirtualFluids.cpp +++ b/pythonbindings/src/VirtualFluids.cpp @@ -49,7 +49,8 @@ namespace py_bindings PYBIND11_MODULE(bindings, m) { - py::add_ostream_redirect(m, "ostream_redirect"); + // because we do not use the old logger (src/basics/logger) anymore and cout is not passed anymore to the old logger, we probably do not need this anymore + // pybind11::add_ostream_redirect(m, "ostream_redirect"); basics::makeModule(m); lbm::makeModule(m); logging::makeModule(m); @@ -60,4 +61,4 @@ namespace py_bindings cpu::makeModule(m); #endif } -} \ No newline at end of file +} -- GitLab