aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2023-02-03 10:37:02 +0100
committerMartin Ridgers <[email protected]>2023-02-03 10:37:02 +0100
commit5b998227c82ce92dda547984be3a20e84fde815a (patch)
tree41be7ab45c068bb76a30a3d8725b63a90eeeb3bc
parentAdded a size_t override for Apple Clang where types as size_t != uint64_t (diff)
downloadzen-5b998227c82ce92dda547984be3a20e84fde815a.tar.xz
zen-5b998227c82ce92dda547984be3a20e84fde815a.zip
Removed stale comment now that use of !! has been replaced
-rw-r--r--zencore/include/zencore/compactbinary.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/zencore/include/zencore/compactbinary.h b/zencore/include/zencore/compactbinary.h
index c0cd07172..b546f97aa 100644
--- a/zencore/include/zencore/compactbinary.h
+++ b/zencore/include/zencore/compactbinary.h
@@ -366,7 +366,6 @@ public:
/** Whether the type is or may contain fields of any attachment type. */
static constexpr inline bool MayContainAttachments(CbFieldType Type)
{
- // The use of !! will suppress V792 from static analysis. Using //-V792 did not work.
return int(IsObject(Type) == true) | int(IsArray(Type) == true) | int(IsAttachment(Type) == true);
}
};