Move ID to the zeek::detail namespace

This commit is contained in:
Tim Wojtulewicz 2020-05-18 18:16:25 -07:00
parent 9992ec5c11
commit 0d623d003c
30 changed files with 221 additions and 182 deletions

View file

@ -379,12 +379,12 @@ void Val::ValDescribeReST(ODesc* d) const
#ifdef DEBUG
ID* Val::GetID() const
zeek::detail::ID* Val::GetID() const
{
return bound_id ? global_scope()->Find(bound_id).get() : nullptr;
}
void Val::SetID(ID* id)
void Val::SetID(zeek::detail::ID* id)
{
delete [] bound_id;
bound_id = id ? copy_string(id->Name()) : nullptr;