]> pd.if.org Git - nbds/blobdiff - txn/txn.c
more header file refactoring
[nbds] / txn / txn.c
index e05d332386fe8284727fc0ced57c107d26a59cf2..a6366b34a1d3f12b1596a98d0591db5883385917 100644 (file)
--- a/txn/txn.c
+++ b/txn/txn.c
@@ -45,7 +45,7 @@ static txn_state_e txn_validate (txn_t *txn);
 static map_t *active_ = NULL;
 
 void txn_init (void) {
-    active_ = map_alloc(MAP_TYPE_SKIPLIST, NULL);
+    active_ = map_alloc(&sl_map_impl, NULL);
 }
 
 // Validate the updates for <key>. Validation fails for a key we have written to if there is a