Rename BroString to zeek::String

This commit is contained in:
Tim Wojtulewicz 2020-07-02 14:59:24 -07:00
parent a2bc42dd93
commit 736a3f53d4
58 changed files with 346 additions and 339 deletions

View file

@ -197,7 +197,7 @@ void ODesc::AddCS(const char* s)
Add(s);
}
void ODesc::AddBytes(const zeek::BroString* s)
void ODesc::AddBytes(const zeek::String* s)
{
if ( IsReadable() )
{
@ -205,7 +205,7 @@ void ODesc::AddBytes(const zeek::BroString* s)
AddBytes(reinterpret_cast<const char*>(s->Bytes()), s->Len());
else
{
const char* str = s->Render(zeek::BroString::EXPANDED_STRING);
const char* str = s->Render(zeek::String::EXPANDED_STRING);
Add(str);
delete [] str;
}