Format source code

It appears we have failed to run `make format` in the last few
commits. Doing it now. We should really add it to CI
This commit is contained in:
Arnout Engelen
2023-01-09 12:39:07 +01:00
parent 80df0044ec
commit d30c5226a0
8 changed files with 31 additions and 31 deletions

View File

@@ -36,19 +36,19 @@ void check_all_procs();
/* compares Connection pointers by their refpacket */
struct ConnectionComparator {
using is_transparent = void;
bool operator()(const Connection* l, const Connection* r) const {
bool operator()(const Connection *l, const Connection *r) const {
return *l->refpacket < *r->refpacket;
}
bool operator()(const Packet* l, const Connection* r) const {
bool operator()(const Packet *l, const Connection *r) const {
return *l < *r->refpacket;
}
bool operator()(const Connection* l, const Packet* r) const {
bool operator()(const Connection *l, const Packet *r) const {
return *l->refpacket < *r;
}
};
/* ordered set of Connection pointers */
typedef std::multiset<Connection*, ConnectionComparator> ConnList;
typedef std::multiset<Connection *, ConnectionComparator> ConnList;
class Process {
public: