int refcount_ = 1; /* refcount_: start > 0 so that this group never gets freed */
- int incl(const std::vector<int> ranks, MPI_Group* newgroup) const;
- int excl(const std::vector<bool> excl_map, MPI_Group* newgroup) const;
+ int incl(const std::vector<int>& ranks, MPI_Group* newgroup) const;
+ int excl(const std::vector<bool>& excl_map, MPI_Group* newgroup) const;
public:
Group() = default;