1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

const fixes

This commit is contained in:
paboyle 2017-06-22 19:32:41 +01:00
parent 600d7ddc2e
commit 1feddf4ba6
3 changed files with 3 additions and 3 deletions

View File

@ -375,7 +375,7 @@ void CartesianCommunicator::ProcessorCoorFromRank(int rank, std::vector<int> &c
////////////////////////////////// //////////////////////////////////
// Try to subdivide communicator // Try to subdivide communicator
////////////////////////////////// //////////////////////////////////
CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors,CartesianCommunicator &parent) CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors,const CartesianCommunicator &parent)
: CartesianCommunicator(processors) : CartesianCommunicator(processors)
{ {
std::cout << "Attempts to split MPI3 communicators will fail until implemented" <<std::endl; std::cout << "Attempts to split MPI3 communicators will fail until implemented" <<std::endl;

View File

@ -38,7 +38,7 @@ void CartesianCommunicator::Init(int *argc, char *** arv)
ShmInitGeneric(); ShmInitGeneric();
} }
CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors,CartesianCommunicator &parent) CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors,const CartesianCommunicator &parent)
: CartesianCommunicator(processors) {} : CartesianCommunicator(processors) {}
CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors) CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors)

View File

@ -75,7 +75,7 @@ void CartesianCommunicator::Init(int *argc, char ***argv) {
ShmInitGeneric(); ShmInitGeneric();
} }
CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors,CartesianCommunicator &parent) CartesianCommunicator::CartesianCommunicator(const std::vector<int> &processors,const CartesianCommunicator &parent)
: CartesianCommunicator(processors) : CartesianCommunicator(processors)
{ {
std::cout << "Attempts to split SHMEM communicators will fail " <<std::endl; std::cout << "Attempts to split SHMEM communicators will fail " <<std::endl;