summaryrefslogtreecommitdiffhomepage
path: root/include/stc/csmap.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-07 22:19:19 +0200
committerTyge Løvset <[email protected]>2022-10-07 22:19:19 +0200
commit0bb5902e347c6b503c80ba6d6e74dc880b1bc736 (patch)
tree0d83e7ef20eed67a97a334b90c1748de2622e8e6 /include/stc/csmap.h
parent905fe02e9c258c8ac8d7aebb439c7039f7109cb1 (diff)
downloadSTC-modified-0bb5902e347c6b503c80ba6d6e74dc880b1bc736.tar.gz
STC-modified-0bb5902e347c6b503c80ba6d6e74dc880b1bc736.zip
Fixed a bug in csmap.h regarding #ifndef _i_emplace.
Updated a few external maps for benchmarks.
Diffstat (limited to 'include/stc/csmap.h')
-rw-r--r--include/stc/csmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/csmap.h b/include/stc/csmap.h
index bcb85a6b..35830626 100644
--- a/include/stc/csmap.h
+++ b/include/stc/csmap.h
@@ -552,6 +552,7 @@ _cx_memb(_clone)(_cx_self tree) {
_csmap_rep(&clone)->size = _csmap_rep(&tree)->size;
return clone;
}
+#endif // !_i_no_clone
#if !defined _i_no_emplace
STC_DEF _cx_result
@@ -564,7 +565,6 @@ _cx_memb(_emplace)(_cx_self* self, _cx_rawkey rkey _i_MAP_ONLY(, i_valraw rmappe
return res;
}
#endif // _i_no_emplace
-#endif // !_i_no_clone
static void
_cx_memb(_drop_r_)(_cx_node* d, i_size tn) {