From ae602b7fd25cccddf88e267432663fbf0d902ce1 Mon Sep 17 00:00:00 2001 From: Peter Albrecht <albrecpe@gmail.com> Date: Thu, 19 Dec 2024 15:10:11 +0100 Subject: [PATCH] Use comments instead of clang-format off --- .../units/RobotUnit/util/ControlThreadOutputBuffer.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h b/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h index 984cd760c..0871a9432 100644 --- a/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h +++ b/source/RobotAPI/components/units/RobotUnit/util/ControlThreadOutputBuffer.h @@ -24,13 +24,16 @@ #include <vector> -// clang-format off -#include <ArmarXCore/core/logging/LoggingUtil.h> // THIS NEEDS TO BE INCLUDED BEFORE EXPRESSION EXCEPTION +// For unknown reasons, this needs to be included before expression exception. +// TODO: investigate +#include <ArmarXCore/core/logging/LoggingUtil.h> + +// Remaining, normal includes. #include <ArmarXCore/core/util/PropagateConst.h> #include <ArmarXCore/core/util/StringHelperTemplates.h> #include <ArmarXCore/core/util/TripleBuffer.h> #include <ArmarXCore/core/exceptions/local/ExpressionException.h> -// clang-format on + #include "../ControlTargets/ControlTargetBase.h" #include "../Devices/ControlDevice.h" -- GitLab