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 {