~severeoverfl0w/rich-crdts

447758b37f2e219c311fa5818e45ee414dbf8e94 — Dominic Monroe 1 year, 8 months ago e51d6ac master
Fix empty in ClojureMap
1 files changed, 1 insertions(+), 1 deletions(-)

M src/io/dominic/rich_crdt/lww_register.clj
M src/io/dominic/rich_crdt/lww_register.clj => src/io/dominic/rich_crdt/lww_register.clj +1 -1
@@ 94,7 94,7 @@
        (.assoc this (nth o 0) (nth o 1)))
      :else
      (reduce #(.assoc %1 (.getKey %2) (.getValue %2)) this o)))
  (empty [this] (ClojureMap. (->LWWRegister {} #{} (.-comp crdt)) update-at {}))
  (empty [this] (ClojureMap. (lww-register-by (.-comp crdt)) update-at {}))
  (equiv [this o] (.equiv m o))
  (seq [this] (seq m))
  clojure.lang.ILookup