]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter/sorter.h
Updated all users of the timer interface to pass an explicit timer context.
[libucw.git] / lib / sorter / sorter.h
index 39bdcb97a7a2d3cf7a995f2da43de4a830e318d3..e421d137b0bd369bca44ffffd62e9e2b6431c32f 100644 (file)
@@ -172,7 +172,7 @@ static inline void P(copy_data)(P(key) *key, struct fastbuf *in, struct fastbuf
 #endif
 }
 
-#if defined(SORT_VAR_KEY) || defined(SORT_VAR_DATA) || defined(SORT_UNIFY)
+#if defined(SORT_VAR_KEY) || defined(SORT_VAR_DATA)
 #include "lib/sorter/s-internal.h"
 #else
 #include "lib/sorter/s-fixint.h"
@@ -241,6 +241,7 @@ static struct fastbuf *P(sort)(
 #endif
 
   ctx.internal_sort = P(internal);
+  ctx.internal_estimate = P(internal_estimate);
   ctx.twoway_merge = P(twoway_merge);
 
   sorter_run(&ctx);