use the implicit clock parameter in LWWRegister.withValue, #21610

This commit is contained in:
Patrik Nordwall 2016-10-03 06:40:16 -05:00
parent 4a4f9c76f9
commit 0cbe43036c

View file

@ -114,7 +114,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.