aboutsummaryrefslogtreecommitdiff
path: root/zencore/compactbinarypackage.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-13 08:41:54 +0100
committerMartin Ridgers <[email protected]>2022-01-13 08:44:39 +0100
commitac2f0f6a0568ecaa993b48023844bfb2c9abf9dd (patch)
treebda20305a5839d8e8262dc2a159df27a06b100cb /zencore/compactbinarypackage.cpp
parentMoved "concepts" include to zencore.h as toolchain support is spotty (diff)
downloadzen-ac2f0f6a0568ecaa993b48023844bfb2c9abf9dd.tar.xz
zen-ac2f0f6a0568ecaa993b48023844bfb2c9abf9dd.zip
Added missing std:: namespace to nullptr_t use
Diffstat (limited to 'zencore/compactbinarypackage.cpp')
-rw-r--r--zencore/compactbinarypackage.cpp10
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