diff options
| author | Stefan Boberg <[email protected]> | 2021-09-01 11:16:29 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-01 11:16:29 +0200 |
| commit | 9b56218bd354b46b157ecdefd3254fa8d5c3e94d (patch) | |
| tree | 88a679f2e770b39e34eecb120460e2d43ab49c74 /zencore/compactbinaryvalidation.cpp | |
| parent | Fixed a race in bucket open/create logic (diff) | |
| download | zen-9b56218bd354b46b157ecdefd3254fa8d5c3e94d.tar.xz zen-9b56218bd354b46b157ecdefd3254fa8d5c3e94d.zip | |
CompactBinary: Added explicit operator bool for array and object types
p4 CL16069971
Diffstat (limited to 'zencore/compactbinaryvalidation.cpp')
| -rw-r--r-- | zencore/compactbinaryvalidation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/compactbinaryvalidation.cpp b/zencore/compactbinaryvalidation.cpp index 0d4283550..80b8bf32a 100644 --- a/zencore/compactbinaryvalidation.cpp +++ b/zencore/compactbinaryvalidation.cpp @@ -461,7 +461,7 @@ ValidateCbPackageObject(CbFieldView& Value, MemoryView& View, CbValidateMode Mod const IoHash Hash = HashField.AsAttachment(); if (EnumHasAnyFlags(Mode, CbValidateMode::Package)) { - if (!Object.CreateViewIterator()) + if (!Object) { AddError(Error, CbValidateError::NullPackageObject); } |