trie: rm workaround for issue #3469

This commit is contained in:
Daniel Micay 2013-03-22 16:19:24 -04:00
parent e9b077c0e9
commit 04e367b353

View file

@ -12,7 +12,6 @@
use prelude::*;
// FIXME: #3469: need to manually update TrieNode when SHIFT changes
// FIXME: #5244: need to manually update the TrieNode constructor
const SHIFT: uint = 4;
const SIZE: uint = 1 << SHIFT;
@ -215,7 +214,7 @@ fn remove(&mut self, value: &uint) -> bool { self.map.remove(value) }
struct TrieNode<T> {
count: uint,
children: [Child<T> * 16] // FIXME: #3469: can't use the SIZE constant yet
children: [Child<T> * SIZE]
}
impl<T> TrieNode<T> {