mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fixup! fixup! Fixes for cppcoreguidelines-pro-type-cstyle-cast
This commit is contained in:
parent
f50c665de4
commit
fd186c4d5f
1 changed files with 2 additions and 2 deletions
|
@ -58,13 +58,13 @@ Val::~Val() {
|
|||
#define CONVERTER(tag, ctype, name) \
|
||||
ctype name() { \
|
||||
CHECK_TAG(type->Tag(), tag, "Val::CONVERTER", type_name) \
|
||||
return static_cast<ctype>(this); \
|
||||
return static_cast<ctype>(this); \
|
||||
}
|
||||
|
||||
#define CONST_CONVERTER(tag, ctype, name) \
|
||||
const ctype name() const { \
|
||||
CHECK_TAG(type->Tag(), tag, "Val::CONVERTER", type_name) \
|
||||
return static_cast<const ctype>(this); \
|
||||
return static_cast<const ctype>(this); \
|
||||
}
|
||||
|
||||
#define CONVERTERS(tag, ctype, name) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue