Merge pull request #21611 from akka/wip-21610-clock-patriknw

use the implicit clock parameter in LWWRegister.withValue, #21610
This commit is contained in:
Patrik Nordwall 2016-10-11 12:28:29 +02:00 committed by GitHub
commit ce22f0a364

View file

@ -121,7 +121,7 @@ final class LWWRegister[A] private[akka] (
* concurrency control.
*/
def withValue(value: A)(implicit node: Cluster, clock: Clock[A] = defaultClock[A]): LWWRegister[A] =
withValue(node, value)
withValue(node, value, clock)
/**
* Change the value of the register.