From 19a300b604649a349e6439d6490ec89a318d6f48 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel Date: Tue, 8 Oct 2024 15:17:16 +0200 Subject: [PATCH] pre-commit run -a --- include/crocoddyl/core/activations/smooth-abs.hpp | 10 +++++----- include/crocoddyl/core/utils/deprecate.hpp | 10 ++++------ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/include/crocoddyl/core/activations/smooth-abs.hpp b/include/crocoddyl/core/activations/smooth-abs.hpp index 993c36b5c4..9b387b1b06 100644 --- a/include/crocoddyl/core/activations/smooth-abs.hpp +++ b/include/crocoddyl/core/activations/smooth-abs.hpp @@ -24,9 +24,9 @@ class ActivationModelSmoothAbsTpl typedef ActivationModelSmooth1NormTpl Base; DEPRECATED("Use ActivationModelSmooth1Norm", - explicit ActivationModelSmoothAbsTpl(const std::size_t nr, - const Scalar eps = Scalar(1.)) - : Base(nr, eps){};) + explicit ActivationModelSmoothAbsTpl( + const std::size_t nr, + const Scalar eps = Scalar(1.)) : Base(nr, eps){};) }; template @@ -39,8 +39,8 @@ struct ActivationDataSmoothAbsTpl template DEPRECATED("Use ActivationDataSmooth1Norm", - explicit ActivationDataSmoothAbsTpl(Activation* const activation) - : Base(activation){}) + explicit ActivationDataSmoothAbsTpl( + Activation* const activation) : Base(activation){}) }; } // namespace crocoddyl diff --git a/include/crocoddyl/core/utils/deprecate.hpp b/include/crocoddyl/core/utils/deprecate.hpp index 1102ba2f7f..7641148014 100644 --- a/include/crocoddyl/core/utils/deprecate.hpp +++ b/include/crocoddyl/core/utils/deprecate.hpp @@ -43,9 +43,8 @@ #ifndef CROCODDYL_IGNORE_DEPRECATED_HEADER #define CROCODDYL_PRAGMA_DEPRECATED_HEADER(old_header, new_header) \ CROCODDYL_PRAGMA_WARNING( \ - Deprecated header file \ - : old_header has been replaced by \ - new_header.\n Please use new_header instead of old_header.) + Deprecated header file : old_header has been replaced by \ + new_header.\n Please use new_header instead of old_header.) #else #define CROCODDYL_PRAGMA_DEPRECATED_HEADER(old_header, new_header) #endif // CROCODDYL_IGNORE_DEPRECATED_HEADER @@ -53,9 +52,8 @@ #ifndef CROCODDYL_IGNORE_DEPRECATED_HEADER #define CROCODDYL_PRAGMA_TO_BE_REMOVED_HEADER(remove_header) \ CROCODDYL_PRAGMA_WARNING( \ - Deprecated header file \ - : remove_header has now been \ - deprecated.\n It would be removed in the upcoming releases.) + Deprecated header file : remove_header has now been \ + deprecated.\n It would be removed in the upcoming releases.) #else #define CROCODDYL_PRAGMA_TO_BE_REMOVED_HEADER(remove_header) #endif // CROCODDYL_IGNORE_TO_BE_REMOVED_HEADER