diff options
| author | Stefan Boberg <[email protected]> | 2021-08-20 13:54:05 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-20 13:54:05 +0200 |
| commit | 25dc6d46f65f0f3d20a5ad1da573f9267f2af2c2 (patch) | |
| tree | c79f022ae3574aae7b803c84f0b07a4fe3b4adcd /zencore/compactbinary.cpp | |
| parent | CL16570338: CompactBinary: Added validation to LoadCompactBinary and removed ... (diff) | |
| download | zen-25dc6d46f65f0f3d20a5ad1da573f9267f2af2c2.tar.xz zen-25dc6d46f65f0f3d20a5ad1da573f9267f2af2c2.zip | |
clang-format
Diffstat (limited to 'zencore/compactbinary.cpp')
| -rw-r--r-- | zencore/compactbinary.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zencore/compactbinary.cpp b/zencore/compactbinary.cpp index 73ca9832f..b759e219e 100644 --- a/zencore/compactbinary.cpp +++ b/zencore/compactbinary.cpp @@ -2,10 +2,10 @@ #include "zencore/compactbinary.h" -#include "zencore/compactbinaryvalidation.h" #include <zencore/endian.h> #include <zencore/stream.h> #include <zencore/trace.h> +#include "zencore/compactbinaryvalidation.h" #include <doctest/doctest.h> #include <string_view> @@ -1091,7 +1091,7 @@ LoadCompactBinary(BinaryReader& Ar, BufferAllocator Allocator) } if (ValidateCompactBinary(Buffer, CbValidateMode::Default) != CbValidateError::None) { - return CbField(); + return CbField(); } return CbField(SharedBuffer(std::move(Buffer))); } |