mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
remove unnecessary casts, and change necessary ones to use static_cast<>
This commit is contained in:
parent
2faaccf10a
commit
245108e86e
30 changed files with 253 additions and 253 deletions
|
@ -1543,7 +1543,7 @@ public:
|
|||
const RecordVal* RecordValAt(unsigned int index) const
|
||||
{ return (*vector_val)[index].record_val; }
|
||||
bool BoolAt(unsigned int index) const
|
||||
{ return bool((*vector_val)[index].uint_val); }
|
||||
{ return static_cast<bool>((*vector_val)[index].uint_val); }
|
||||
const StringVal* StringValAt(unsigned int index) const
|
||||
{ return (*vector_val)[index].string_val; }
|
||||
const String* StringAt(unsigned int index) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue