Deprecate Val::Type(), replace with GetType()

This commit is contained in:
Jon Siwek 2020-05-11 12:14:54 -07:00
parent 737420c359
commit 1eb723fc9d
30 changed files with 270 additions and 255 deletions

View file

@ -284,9 +284,9 @@ void TopkVal::Encountered(Val* encountered)
// ok, let's see if we already know this one.
if ( numElements == 0 )
Typify(encountered->Type());
Typify(encountered->GetType().get());
else
if ( ! same_type(type, encountered->Type()) )
if ( ! same_type(type, encountered->GetType().get()) )
{
reporter->Error("Trying to add element to topk with differing type from other elements");
return;