diff options
Diffstat (limited to 'misc/examples/sortedmaps')
| -rw-r--r-- | misc/examples/sortedmaps/csmap_insert.c | 1 | ||||
| -rw-r--r-- | misc/examples/sortedmaps/multimap.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/sortedmaps/csmap_insert.c b/misc/examples/sortedmaps/csmap_insert.c index c9f02891..04b8ddc6 100644 --- a/misc/examples/sortedmaps/csmap_insert.c +++ b/misc/examples/sortedmaps/csmap_insert.c @@ -13,7 +13,6 @@ #include <stc/csmap.h> #define i_key csmap_ii_raw -#define i_opt c_no_cmp #define i_tag ii #include <stc/cvec.h> diff --git a/misc/examples/sortedmaps/multimap.c b/misc/examples/sortedmaps/multimap.c index 1068a5dc..a4490f91 100644 --- a/misc/examples/sortedmaps/multimap.c +++ b/misc/examples/sortedmaps/multimap.c @@ -41,6 +41,7 @@ void OlympicLoc_drop(OlympicLoc* self); // Create a clist<OlympicLoc>, can be sorted by year. #define i_keyclass OlympicLoc // binds _cmp, _clone and _drop. +#define i_use_cmp #define i_tag OL #include <stc/clist.h> |
