From da4dd0df7ef6c2ca61668bcf602eeaac615ed5c1 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 11 May 2023 10:17:24 +0200 Subject: [PATCH] Formatting (#742) --- slsReceiverSoftware/src/Implementation.cpp | 2 +- slsSupportLib/include/sls/ZmqSocket.h | 4 ++-- slsSupportLib/include/sls/network_utils.h | 1 - slsSupportLib/include/sls/versionAPI.h | 4 ++-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/slsReceiverSoftware/src/Implementation.cpp b/slsReceiverSoftware/src/Implementation.cpp index 0f3b733ea..3e3202295 100644 --- a/slsReceiverSoftware/src/Implementation.cpp +++ b/slsReceiverSoftware/src/Implementation.cpp @@ -235,7 +235,7 @@ const slsDetectorDefs::xy Implementation::GetPortGeometry() const { const slsDetectorDefs::ROI Implementation::GetMaxROIPerPort() const { return slsDetectorDefs::ROI{0, (int)generalData->nPixelsX - 1, 0, - (int)generalData->nPixelsY - 1}; + (int)generalData->nPixelsY - 1}; } void Implementation::setDetectorSize(const slsDetectorDefs::xy size) { diff --git a/slsSupportLib/include/sls/ZmqSocket.h b/slsSupportLib/include/sls/ZmqSocket.h index 16c9fc5aa..7baa6defd 100644 --- a/slsSupportLib/include/sls/ZmqSocket.h +++ b/slsSupportLib/include/sls/ZmqSocket.h @@ -12,8 +12,8 @@ #include "sls/container_utils.h" #include "sls/sls_detector_exceptions.h" -#include #include +#include #include // Selective suppression of warning in gcc, @@ -85,7 +85,7 @@ struct zmqHeader { /** additional json header */ std::map addJsonHeader; /** (xmin, xmax, ymin, ymax) roi only in files written */ - std::array rx_roi{}; + std::array rx_roi{}; }; class ZmqSocket { diff --git a/slsSupportLib/include/sls/network_utils.h b/slsSupportLib/include/sls/network_utils.h index b4094e406..e0e48c416 100644 --- a/slsSupportLib/include/sls/network_utils.h +++ b/slsSupportLib/include/sls/network_utils.h @@ -5,7 +5,6 @@ #include #include #include -#include namespace sls { diff --git a/slsSupportLib/include/sls/versionAPI.h b/slsSupportLib/include/sls/versionAPI.h index 12ec4c98d..71ecff572 100644 --- a/slsSupportLib/include/sls/versionAPI.h +++ b/slsSupportLib/include/sls/versionAPI.h @@ -9,5 +9,5 @@ #define APILIB "developer 0x230224" #define APIRECEIVER "developer 0x230224" #define APIEIGER "developer 0x230224" -#define APIJUNGFRAU "developer 0x230508" -#define APIMOENCH "developer 0x230508" +#define APIJUNGFRAU "developer 0x230508" +#define APIMOENCH "developer 0x230508"