mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
pass by reference got accidentally killed by commit 278e8c5030
This commit is contained in:
@ -55,7 +55,7 @@ namespace Foam
|
||||
class ifEqEqOp
|
||||
{
|
||||
public:
|
||||
void operator()(label x, const label y) const
|
||||
void operator()(label& x, const label y) const
|
||||
{
|
||||
x = (x == y) ? x : value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user