mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 17:37:45 +01:00
clang format
This commit is contained in:
@@ -53,7 +53,7 @@ class DataSocket {
|
||||
int Send(const std::string &s);
|
||||
|
||||
// Variadic template to send all arguments
|
||||
template <class... Args> int SendAll(Args &&... args) {
|
||||
template <class... Args> int SendAll(Args &&...args) {
|
||||
auto l = std::initializer_list<int>{Send(args)...};
|
||||
auto sum = std::accumulate(begin(l), end(l), 0);
|
||||
return sum;
|
||||
@@ -86,7 +86,7 @@ class DataSocket {
|
||||
|
||||
private:
|
||||
int sockfd_ = -1;
|
||||
int fnum_ {0};
|
||||
int fnum_{0};
|
||||
};
|
||||
|
||||
}; // namespace sls
|
||||
|
||||
Reference in New Issue
Block a user