From 56619463ac26dc6c3e576d2fbf6b544eebeb5148 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sun, 20 May 2012 11:24:59 +0200 Subject: Imported Upstream version 2.2.0 --- src/trie.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/trie.hpp') diff --git a/src/trie.hpp b/src/trie.hpp index dbf1cb1..7b1b62c 100644 --- a/src/trie.hpp +++ b/src/trie.hpp @@ -1,5 +1,6 @@ /* Copyright (c) 2007-2011 iMatix Corporation + Copyright (c) 2011-2012 Spotify AB Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. @@ -40,10 +41,12 @@ namespace zmq bool check (unsigned char *data_, size_t size_); private: + bool is_redundant () const; uint32_t refcnt; unsigned char min; unsigned short count; + unsigned short live_nodes; union { class trie_t *node; class trie_t **table; -- cgit v1.2.3