From 5871086cd6466c9104f260a3e088dbf8b8c7582d Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Mon, 8 May 2023 17:04:04 +0200 Subject: [PATCH] formatting --- slsReceiverSoftware/src/Implementation.cpp | 2 +- slsSupportLib/include/sls/ZmqSocket.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/slsReceiverSoftware/src/Implementation.cpp b/slsReceiverSoftware/src/Implementation.cpp index ee4ba7120..fc1877b44 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 {