summaryrefslogtreecommitdiffhomepage
path: root/examples/mapmap.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-01-03 10:50:41 +0100
committerTyge Løvset <[email protected]>2021-01-03 10:50:41 +0100
commite4c1dadb85e08d88fbc706e49a5d2b18b39fe0ed (patch)
tree731d91462d450fb848dd9125efdc8dc77c68d730 /examples/mapmap.c
parent949c6b61cae7bb4665f47a6f27375dd450a23854 (diff)
downloadSTC-modified-e4c1dadb85e08d88fbc706e49a5d2b18b39fe0ed.tar.gz
STC-modified-e4c1dadb85e08d88fbc706e49a5d2b18b39fe0ed.zip
Force template argument *clone* to be specified when *del* is specified for containers. Can be *c_no_clone* if clonable is not required.
Diffstat (limited to 'examples/mapmap.c')
-rw-r--r--examples/mapmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mapmap.c b/examples/mapmap.c
index 1128387d..a56a30db 100644
--- a/examples/mapmap.c
+++ b/examples/mapmap.c
@@ -4,7 +4,7 @@
#include <stc/cstr.h>
using_cmap_str();
-using_cmap_strkey(cfg, cmap_str, cmap_str_del);
+using_cmap_strkey(cfg, cmap_str, cmap_str_del, cmap_str_clone);
int main(void) {
cmap_cfg config = cmap_inits;