Fixing problem with type list.

This commit is contained in:
Robin Sommer 2012-08-14 17:16:53 -07:00
parent a41efd495d
commit ae4066dcf8

View file

@ -5902,7 +5902,11 @@ function hll_cardinality_add%(elem: any, index: any%): bool
int status = 0;
uint64_t a = 123456;
CompositeHash* hll_hash = new CompositeHash(new TypeList(elem->Type()));
TypeList* tl = new TypeList(elem->Type());
tl->Append(elem->Type());
CompositeHash* hll_hash = new CompositeHash(tl);
Unref(tl);
if( hll_counters.count(*s) > 0 )
{
CardinalityCounter* h = hll_counters[*s];