aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-08-20 13:54:05 +0200
committerStefan Boberg <[email protected]>2021-08-20 13:54:05 +0200
commit25dc6d46f65f0f3d20a5ad1da573f9267f2af2c2 (patch)
treec79f022ae3574aae7b803c84f0b07a4fe3b4adcd /zencore/include
parentCL16570338: CompactBinary: Added validation to LoadCompactBinary and removed ... (diff)
downloadzen-25dc6d46f65f0f3d20a5ad1da573f9267f2af2c2.tar.xz
zen-25dc6d46f65f0f3d20a5ad1da573f9267f2af2c2.zip
clang-format
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/compactbinary.h5
-rw-r--r--zencore/include/zencore/uid.h6
2 files changed, 4 insertions, 7 deletions
diff --git a/zencore/include/zencore/compactbinary.h b/zencore/include/zencore/compactbinary.h
index 4c9b48d3a..2dc9c0ce0 100644
--- a/zencore/include/zencore/compactbinary.h
+++ b/zencore/include/zencore/compactbinary.h
@@ -297,10 +297,7 @@ public:
static constexpr inline bool IsFloat(CbFieldType Type) { return (Type & FloatMask) == FloatBase; }
static constexpr inline bool IsBool(CbFieldType Type) { return (Type & BoolMask) == BoolBase; }
- static constexpr inline bool IsObjectAttachment(CbFieldType Type)
- {
- return GetType(Type) == CbFieldType::ObjectAttachment;
- }
+ static constexpr inline bool IsObjectAttachment(CbFieldType Type) { return GetType(Type) == CbFieldType::ObjectAttachment; }
static constexpr inline bool IsBinaryAttachment(CbFieldType Type) { return GetType(Type) == CbFieldType::BinaryAttachment; }
static constexpr inline bool IsAttachment(CbFieldType Type) { return (Type & AttachmentMask) == AttachmentBase; }
diff --git a/zencore/include/zencore/uid.h b/zencore/include/zencore/uid.h
index 2e2871910..2730b1415 100644
--- a/zencore/include/zencore/uid.h
+++ b/zencore/include/zencore/uid.h
@@ -42,9 +42,9 @@ class StringBuilderBase;
ordered lexicographically. I.e they are in big-endian byte order.
NOTE: The information above is only meant to explain the properties of
- the identifiers. Client code should simply treat the identifier as an
- opaque value and may not make any assumptions on the structure, as there
- may be other ways of generating the identifiers in the future if an
+ the identifiers. Client code should simply treat the identifier as an
+ opaque value and may not make any assumptions on the structure, as there
+ may be other ways of generating the identifiers in the future if an
application benefits.
*/