fix opEquals type

This commit is contained in:
Walter Bright 2009-11-22 08:38:36 +00:00
parent 78d04c9566
commit 1b0d9811c3
3 changed files with 12 additions and 7 deletions

View file

@ -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;
}