From cd547424308e65d9b2a4891938b4ecce390986b7 Mon Sep 17 00:00:00 2001 From: ginkgo-bot Date: Wed, 4 Oct 2023 09:55:10 +0000 Subject: [PATCH] Format files Co-authored-by: Pratik Nayak --- include/ginkgo/core/log/logger.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/ginkgo/core/log/logger.hpp b/include/ginkgo/core/log/logger.hpp index a6fade087b0..e5773f8865d 100644 --- a/include/ginkgo/core/log/logger.hpp +++ b/include/ginkgo/core/log/logger.hpp @@ -455,9 +455,9 @@ public: \ * @warning This on_iteration_complete function that this macro declares is * deprecated. Please use the version with the stopping information. */ - [ - [deprecated("Please use the version with the additional stopping " - "information.")]] virtual void + [[deprecated( + "Please use the version with the additional stopping " + "information.")]] virtual void on_iteration_complete(const LinOp* solver, const size_type& it, const LinOp* r, const LinOp* x = nullptr, const LinOp* tau = nullptr) const @@ -476,9 +476,9 @@ public: \ * @warning This on_iteration_complete function that this macro declares is * deprecated. Please use the version with the stopping information. */ - [ - [deprecated("Please use the version with the additional stopping " - "information.")]] virtual void + [[deprecated( + "Please use the version with the additional stopping " + "information.")]] virtual void on_iteration_complete(const LinOp* solver, const size_type& it, const LinOp* r, const LinOp* x, const LinOp* tau, const LinOp* implicit_tau_sq) const @@ -874,8 +874,8 @@ class EnableLogging : public PolymorphicBase { template struct propagate_log_helper< Event, ConcreteLoggableT, - xstd::void_t().get_executor())>> { + xstd::void_t< + decltype(std::declval().get_executor())>> { template static void propagate_log(const ConcreteLoggableT* loggable, Args&&... args)