mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-06 16:56:45 +08:00
fix compilation error
This commit is contained in:
parent
4f46e5a95f
commit
792a9b3339
@ -61,6 +61,11 @@ public:
|
|||||||
allocator_wrapper(allocator_wrapper<U, AllocP> && rhs) noexcept : alloc_(std::move(rhs.alloc_)) {}
|
allocator_wrapper(allocator_wrapper<U, AllocP> && rhs) noexcept : alloc_(std::move(rhs.alloc_)) {}
|
||||||
allocator_wrapper(alloc_policy && rhs) noexcept : alloc_(std::move(rhs)) {}
|
allocator_wrapper(alloc_policy && rhs) noexcept : alloc_(std::move(rhs)) {}
|
||||||
|
|
||||||
|
allocator_wrapper& operator=(allocator_wrapper && rhs) noexcept {
|
||||||
|
alloc_ = std::move(rhs.alloc_);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// the other type of std_allocator
|
// the other type of std_allocator
|
||||||
template <typename U>
|
template <typename U>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user