Merge pull request #21611 from akka/wip-21610-clock-patriknw
use the implicit clock parameter in LWWRegister.withValue, #21610
This commit is contained in:
commit
ce22f0a364
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ final class LWWRegister[A] private[akka] (
|
||||||
* concurrency control.
|
* concurrency control.
|
||||||
*/
|
*/
|
||||||
def withValue(value: A)(implicit node: Cluster, clock: Clock[A] = defaultClock[A]): LWWRegister[A] =
|
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.
|
* Change the value of the register.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue