diff options
Diffstat (limited to 'zencore')
| -rw-r--r-- | zencore/include/zencore/compactbinary.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/include/zencore/compactbinary.h b/zencore/include/zencore/compactbinary.h index eba4a1694..c0cd07172 100644 --- a/zencore/include/zencore/compactbinary.h +++ b/zencore/include/zencore/compactbinary.h @@ -367,7 +367,7 @@ public: static constexpr inline bool MayContainAttachments(CbFieldType Type) { // The use of !! will suppress V792 from static analysis. Using //-V792 did not work. - return !!IsObject(Type) | !!IsArray(Type) | !!IsAttachment(Type); + return int(IsObject(Type) == true) | int(IsArray(Type) == true) | int(IsAttachment(Type) == true); } }; |