Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thattil committed Sep 6, 2024
1 parent 7e47c76 commit 27d2598
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions slsSupportLib/include/sls/sls_detector_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ class slsDetectorDefs {
int ymin{-1};
int ymax{-1};
ROI() = default;
ROI(int xmin, int xmax) : xmin(xmin), xmax(xmax) {};
ROI(int xmin, int xmax) : xmin(xmin), xmax(xmax){};
ROI(int xmin, int xmax, int ymin, int ymax)
: xmin(xmin), xmax(xmax), ymin(ymin), ymax(ymax) {};
: xmin(xmin), xmax(xmax), ymin(ymin), ymax(ymax){};
constexpr std::array<int, 4> getIntArray() const {
return std::array<int, 4>({xmin, xmax, ymin, ymax});
}
Expand Down Expand Up @@ -236,7 +236,7 @@ typedef struct {
int x{0};
int y{0};
xy() = default;
xy(int x, int y) : x(x), y(y) {};
xy(int x, int y) : x(x), y(y){};
} __attribute__((packed));
#endif

Expand Down
2 changes: 1 addition & 1 deletion slsSupportLib/src/ZmqSocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void ZmqSocket::PrintError() {

// Nested class to do RAII handling of socket descriptors
ZmqSocket::mySocketDescriptors::mySocketDescriptors(bool server)
: server(server), contextDescriptor(nullptr), socketDescriptor(nullptr) {};
: server(server), contextDescriptor(nullptr), socketDescriptor(nullptr){};
ZmqSocket::mySocketDescriptors::~mySocketDescriptors() {
Disconnect();
Close();
Expand Down

0 comments on commit 27d2598

Please sign in to comment.