snapshot: use the right allocator for the remote-local mapping

This commit is contained in:
Michele Caini
2023-06-06 10:10:10 +02:00
parent 26fad4c385
commit 3f1277f7bd

View File

@@ -390,7 +390,8 @@ public:
* @param source A valid reference to a registry.
*/
basic_continuous_loader(registry_type &source) noexcept
: reg{&source} {}
: remloc{source.get_allocator()},
reg{&source} {}
/*! @brief Default move constructor. */
basic_continuous_loader(basic_continuous_loader &&) = default;