Skip to content

Commit

Permalink
reformat using clang-format-13
Browse files Browse the repository at this point in the history
  • Loading branch information
Naphann committed Jan 20, 2023
1 parent 3d65c74 commit 78f5e34
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions quisp/rules/Rule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@
namespace quisp::rules {

Rule::Rule(int partner_address, QNIC_type qnic_type, int qnic_id, int shared_tag, bool is_finalized) : shared_tag(shared_tag), is_finalized(is_finalized) {
QnicInterface interface {
partner_address, qnic_type, qnic_id
};
QnicInterface interface { partner_address, qnic_type, qnic_id };
qnic_interfaces.push_back(interface);
};

Rule::Rule(std::vector<int> partner_address, std::vector<QNIC_type> qnic_type, std::vector<int> qnic_id, int shared_tag, bool is_finalized)
: shared_tag(shared_tag), is_finalized(is_finalized) {
for (int i = 0; i < partner_address.size(); i++) {
QnicInterface interface {
partner_address.at(i), qnic_type.at(i), qnic_id.at(i)
};
QnicInterface interface { partner_address.at(i), qnic_type.at(i), qnic_id.at(i) };
qnic_interfaces.push_back(interface);
}
}
Expand Down

0 comments on commit 78f5e34

Please sign in to comment.