clang format

This commit is contained in:
2021-10-19 14:49:43 +02:00
parent 3726ae3fd1
commit b39c64032d
66 changed files with 642 additions and 624 deletions

View File

@@ -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