pass by reference got accidentally killed by commit 278e8c5030
This commit is contained in:
parent
c100ffc957
commit
19d3e88040
@ -55,7 +55,7 @@ namespace Foam
|
|||||||
class ifEqEqOp
|
class ifEqEqOp
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void operator()(label x, const label y) const
|
void operator()(label& x, const label y) const
|
||||||
{
|
{
|
||||||
x = (x == y) ? x : value;
|
x = (x == y) ? x : value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user