Bugfix: type qualifiers ignored on cast result type

This commit is contained in:
Danial Khazaei 2019-01-31 17:16:18 +03:30
parent 23ef4e1dc3
commit a480f9577c
No known key found for this signature in database
GPG key ID: 0EF86F9BFB18F88C

View file

@ -241,7 +241,7 @@ void Foam::coupledLduMatrix::initMatrixInterfaces
matrices[rowI],
coupleCoeffs[rowI][interfaceI],
cmpt,
static_cast<const Pstream::commsTypes>
static_cast<Pstream::commsTypes>
(
Pstream::defaultCommsType()
),
@ -288,7 +288,7 @@ void Foam::coupledLduMatrix::initMatrixInterfaces
matrices[rowI],
coupleCoeffs[rowI][interfaceI],
cmpt,
static_cast<const Pstream::commsTypes>
static_cast<Pstream::commsTypes>
(
Pstream::defaultCommsType()
),
@ -336,7 +336,7 @@ void Foam::coupledLduMatrix::initMatrixInterfaces
matrices[rowI],
coupleCoeffs[rowI][interfaceI],
cmpt,
static_cast<const Pstream::commsTypes>
static_cast<Pstream::commsTypes>
(
Pstream::defaultCommsType()
),
@ -383,7 +383,7 @@ void Foam::coupledLduMatrix::initMatrixInterfaces
matrices[rowI],
coupleCoeffs[rowI][interfaceI],
cmpt,
static_cast<const Pstream::commsTypes>
static_cast<Pstream::commsTypes>
(
Pstream::defaultCommsType()
),