From b3d9e68fa2c2ec9ebe7e3f08045d01db5b720eea Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 30 Jan 2021 23:05:36 +0100 Subject: Internal changes: removed use of cmap_inits and set_inits. Use cmap_x_init() and cset_X_init(). Minor changes in cvec, csmap, cstr, crandom. --- examples/mapmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/mapmap.c') diff --git a/examples/mapmap.c b/examples/mapmap.c index a56a30db..7782f5bf 100644 --- a/examples/mapmap.c +++ b/examples/mapmap.c @@ -7,8 +7,8 @@ using_cmap_str(); using_cmap_strkey(cfg, cmap_str, cmap_str_del, cmap_str_clone); int main(void) { - cmap_cfg config = cmap_inits; - cmap_str init = cmap_inits; + cmap_cfg config = cmap_cfg_init(); + cmap_str init = cmap_str_init(); cmap_str_put(&cmap_cfg_emplace(&config, "user", init).first->second, "name", "Joe"); cmap_str_put(&cmap_cfg_emplace(&config, "user", init).first->second, "groups", "proj1,proj3"); cmap_str_put(&cmap_cfg_emplace(&config, "group", init).first->second, "proj1", "Energy"); -- cgit v1.2.3