aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/container.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2024-01-18 18:00:25 -0500
committerluigi1111 <luigi1111w@gmail.com>2024-01-18 18:00:25 -0500
commit5d3679c43c8003c9dc917630685675bd5c2f3949 (patch)
tree37477df2235f89808df5f15681faee03e971a59d /src/serialization/container.h
parentMerge pull request #9061 (diff)
parentserialization: fix infinite loops and clean up dispatching (diff)
downloadmonero-5d3679c43c8003c9dc917630685675bd5c2f3949.tar.xz
Merge pull request #9069
a11e03a serialization: fix infinite loops and clean up dispatching (jeffro256)
Diffstat (limited to 'src/serialization/container.h')
-rw-r--r--src/serialization/container.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialization/container.h b/src/serialization/container.h
index 80e1892f2..393c66399 100644
--- a/src/serialization/container.h
+++ b/src/serialization/container.h
@@ -42,7 +42,7 @@ namespace serialization
typename std::enable_if<!use_container_varint<T>(), bool>::type
serialize_container_element(Archive& ar, T& e)
{
- return ::do_serialize(ar, e);
+ return do_serialize(ar, e);
}
template<typename Archive, typename T>
@@ -52,7 +52,7 @@ namespace serialization
static constexpr const bool previously_varint = std::is_same<uint64_t, T>() || std::is_same<uint32_t, T>();
if (!previously_varint && ar.varint_bug_backward_compatibility_enabled() && !typename Archive::is_saving())
- return ::do_serialize(ar, e);
+ return do_serialize(ar, e);
ar.serialize_varint(e);
return true;
}