diff --git a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C index 6adb7eada4..64d99bee45 100644 --- a/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C +++ b/src/OpenFOAM/global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C @@ -657,7 +657,7 @@ Foam::fileOperations::masterUncollatedFileOperation::read { // Note: handle compression ourselves since size cannot // be determined without actually uncompressing - readAndSend(fPath, labelList(1, proci), pBufs); + readAndSend(fPath, labelList(one{}, proci), pBufs); } } } @@ -2390,7 +2390,7 @@ Foam::fileOperations::masterUncollatedFileOperation::NewIFstream readAndSend ( filePaths[proci], - labelList(1, proci), + labelList(one{}, proci), pBufs ); } diff --git a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C index eb84d1aaf2..7aba98859a 100644 --- a/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C +++ b/src/dynamicMesh/polyTopoChange/polyTopoChange/addPatchCellLayer.C @@ -968,21 +968,21 @@ void Foam::addPatchCellLayer::globalEdgeInfo mesh, meshEdgeToFace, maxEqOp