Skip to content

Commit

Permalink
Reformat references in function parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Adda0 committed Sep 13, 2023
1 parent 0862aec commit 623953f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/mata/utils/ord-vector.hh
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,13 @@ public:
// PUSH_BACK WHICH BREAKS SORTEDNESS,
// dangerous,
// but useful in NFA where temporarily breaking the sortedness invariant allows for a faster algorithm (e.g. revert)
reference push_back(const Key & t) { return emplace_back(t); }
reference push_back(const Key& t) { return emplace_back(t); }

// PUSH_BACK WHICH BREAKS SORTEDNESS,
// dangerous,
// but useful in NFA where temporarily breaking the sortedness invariant allows for a faster algorithm (e.g. revert)
// btw, do we need move here?
reference push_back(Key && t) { return emplace_back(std::move(t)); }
reference push_back(Key&& t) { return emplace_back(std::move(t)); }

virtual inline void reserve(size_t size) { vec_.reserve(size); }

Expand Down

0 comments on commit 623953f

Please sign in to comment.