Skip to content

Commit

Permalink
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-buildbot committed Dec 18, 2024
1 parent 6b24bbf commit 0e48078
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/stan/callbacks/multi_stream_writer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,22 @@ class multi_stream_writer {
*/
template <typename T>
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_);
}

/**
* Get the underlying stream
*/
inline auto& get_stream() noexcept { return output_; }


private:
/**
* Output stream
*/
std::tuple<std::reference_wrapper<Streams>...> output_;

};

} // namespace callbacks
Expand Down

0 comments on commit 0e48078

Please sign in to comment.