From e170136a2e00eec2e786441cdc090c3b00a8fbd4 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 16 Sep 2011 16:34:28 +0200 Subject: More bugs in mtrie fixed Aside of fixing couple of corner cases this patch turns the 'match' function in mtrie from recursive to iterative. Signed-off-by: Martin Sustrik --- src/mtrie.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mtrie.hpp') diff --git a/src/mtrie.hpp b/src/mtrie.hpp index 68a3f2c..2c2cc32 100644 --- a/src/mtrie.hpp +++ b/src/mtrie.hpp @@ -67,8 +67,6 @@ namespace zmq void *arg_); bool rm_helper (unsigned char *prefix_, size_t size_, class pipe_t *pipe_); - void match_helper (unsigned char *data_, size_t size_, - void (*func_) (class pipe_t *pipe_, void *arg_), void *arg_); typedef std::set pipes_t; pipes_t pipes; -- cgit v1.2.3