diff options
Diffstat (limited to 'zencore/compactbinarypackage.cpp')
| -rw-r--r-- | zencore/compactbinarypackage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zencore/compactbinarypackage.cpp b/zencore/compactbinarypackage.cpp index f7ce371c8..6eaca5fdf 100644 --- a/zencore/compactbinarypackage.cpp +++ b/zencore/compactbinarypackage.cpp @@ -28,7 +28,7 @@ CbAttachment::CbAttachment(const CompositeBuffer& InValue) : Value{std::in_place { if (std::get<BinaryValue>(Value).Buffer.IsNull()) { - Value.emplace<nullptr_t>(); + Value.emplace<std::nullptr_t>(); } } @@ -36,7 +36,7 @@ CbAttachment::CbAttachment(CompositeBuffer&& InValue) : Value{std::in_place_type { if (std::get<BinaryValue>(Value).Buffer.IsNull()) { - Value.emplace<nullptr_t>(); + Value.emplace<std::nullptr_t>(); } } @@ -44,7 +44,7 @@ CbAttachment::CbAttachment(CompositeBuffer&& InValue, const IoHash& Hash) : Valu { if (std::get<BinaryValue>(Value).Buffer.IsNull()) { - Value.emplace<nullptr_t>(); + Value.emplace<std::nullptr_t>(); } } @@ -52,7 +52,7 @@ CbAttachment::CbAttachment(CompressedBuffer&& InValue) : Value(std::in_place_typ { if (std::get<CompressedBuffer>(Value).IsNull()) { - Value.emplace<nullptr_t>(); + Value.emplace<std::nullptr_t>(); } } @@ -238,7 +238,7 @@ CbAttachment::Save(BinaryWriter& Writer) const bool CbAttachment::IsNull() const { - return std::holds_alternative<nullptr_t>(Value); + return std::holds_alternative<std::nullptr_t>(Value); } bool |