pass by reference got accidentally killed by commit 278e8c5030
This commit is contained in:
parent
c100ffc957
commit
19d3e88040
@ -55,9 +55,9 @@ 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;
|
||||
x = (x == y) ? x : value;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user