mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 17:18:20 +00:00
removing unneeded BoolVal constructor that can cause overload ambiguity issues
This commit is contained in:
parent
5a8ba8c3e5
commit
c6830193f3
1 changed files with 0 additions and 3 deletions
|
@ -362,9 +362,6 @@ public:
|
|||
BoolVal(bro_int_t v)
|
||||
: detail::IntValImplementation(base_type(TYPE_BOOL), v)
|
||||
{}
|
||||
BoolVal(bool b)
|
||||
: BoolVal(bro_int_t(b))
|
||||
{}
|
||||
|
||||
bool Get() const { return static_cast<bool>(int_val); }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue