From 0e48078d800106373377437a925d692bc950d1ba Mon Sep 17 00:00:00 2001 From: Stan Jenkins Date: Wed, 18 Dec 2024 15:20:34 -0500 Subject: [PATCH] [Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1 --- src/stan/callbacks/multi_stream_writer.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/stan/callbacks/multi_stream_writer.hpp b/src/stan/callbacks/multi_stream_writer.hpp index e56536edff..e45994ab5f 100644 --- a/src/stan/callbacks/multi_stream_writer.hpp +++ b/src/stan/callbacks/multi_stream_writer.hpp @@ -35,14 +35,10 @@ class multi_stream_writer { */ template void operator()(T&& x) { - stan::math::for_each([&](auto&& output) { - output(x); - }, output_); + stan::math::for_each([&](auto&& output) { output(x); }, output_); } void operator()() { - stan::math::for_each([](auto&& output) { - output(); - }, output_); + stan::math::for_each([](auto&& output) { output(); }, output_); } /** @@ -50,13 +46,11 @@ class multi_stream_writer { */ inline auto& get_stream() noexcept { return output_; } - private: /** * Output stream */ std::tuple...> output_; - }; } // namespace callbacks