From 59f56b54744db309981065ccb63bbe68aff4f4ff Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 2 Jan 2021 09:14:44 +0100 Subject: Almost internal: Swapped toRaw(), fromRaw() template arguments in containers. --- examples/advanced.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/advanced.c b/examples/advanced.c index 931efb57..a79caaee 100644 --- a/examples/advanced.c +++ b/examples/advanced.c @@ -51,7 +51,7 @@ Viking viking_fromVw(VikingVw vw) { // Using the full using_cmap() macro to define [Viking -> int] hash map type: using_cmap(vk, Viking, int, c_default_del, vikingvw_equals, vikingvw_hash, - viking_del, VikingVw, viking_toVw, viking_fromVw); + viking_del, VikingVw, viking_fromVw, viking_toVw); // cmap_vk uses vikingvw_hash() for hash value calculations, and vikingvw_equals() for equality test. // cmap_vk_del() will free all memory allocated for Viking keys and the hash table values. -- cgit v1.2.3