mirror of
https://github.com/dlang/phobos.git
synced 2025-05-04 09:00:22 +03:00
fix opEquals type
This commit is contained in:
parent
78d04c9566
commit
1b0d9811c3
3 changed files with 12 additions and 7 deletions
|
@ -242,7 +242,7 @@ Always $(D false) (random generators are infinite ranges).
|
|||
/**
|
||||
Compares against $(D_PARAM rhs) for equality.
|
||||
*/
|
||||
bool opEquals(LinearCongruentialEngine rhs) const
|
||||
bool opEquals(ref const LinearCongruentialEngine rhs) const
|
||||
{
|
||||
return _x == rhs._x;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue