summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-13 15:37:27 +0200
committerTyge Løvset <[email protected]>2020-09-13 15:37:27 +0200
commit58cb39e99704606d4523b4e523fc3820b8ac37c2 (patch)
tree4dca86358d23043992ff9e7371de03a879d4922c
parentdbc6eda60967551d3dc83c9152f89bf6a0ac183e (diff)
downloadSTC-modified-58cb39e99704606d4523b4e523fc3820b8ac37c2.tar.gz
STC-modified-58cb39e99704606d4523b4e523fc3820b8ac37c2.zip
Removed unneeded function.
-rw-r--r--stc/cmap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/stc/cmap.h b/stc/cmap.h
index b8e53ffe..8658e01a 100644
--- a/stc/cmap.h
+++ b/stc/cmap.h
@@ -237,10 +237,6 @@ typedef struct {size_t idx; uint32_t hx;} cmap_bucket_t, cset_bucket_t;
}) \
\
CMAP_ONLY_##ctype( \
- STC_INLINE void \
- ctype##_##X##_emplace_n(ctype##_##X* self, const cmap_##X##_input_t pairs[], size_t n) { \
- for (size_t i=0; i<n; ++i) ctype##_##X##_emplace(self, pairs[i].key, pairs[i].value); \
- } \
STC_INLINE ctype##_##X##_result_t \
ctype##_##X##_insert_or_assign(ctype##_##X* self, RawKey rawKey, RawValue rawValue) { \
ctype##_##X##_result_t res = ctype##_##X##_insert_key_(self, rawKey); \