summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/functor.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/functor.c')
-rw-r--r--misc/examples/functor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/functor.c b/misc/examples/functor.c
index a233a874..ea409a56 100644
--- a/misc/examples/functor.c
+++ b/misc/examples/functor.c
@@ -6,7 +6,7 @@
#define i_type IPQue
#define i_base cpque
-#define i_val int
+#define i_key int
#define i_extend bool(*less)(const int*, const int*);
#define i_less(x, y) c_extend()->less(x, y)
// Note: i_less: c_extend() accessible for cpque types