Remove BroValUnion by hoisting underlying Val subclass values into subclasses

This commit is contained in:
Vern Paxson 2020-11-10 15:18:54 -08:00 committed by Tim Wojtulewicz
parent 49ca8e2163
commit 7f92a573d2
29 changed files with 632 additions and 512 deletions

View file

@ -127,7 +127,7 @@ struct val_converter {
auto file = File::Get(a.data());
if ( file )
return make_intrusive<Val>(std::move(file));
return make_intrusive<FileVal>(std::move(file));
return nullptr;
}