diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-06-07 22:38:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-06-07 22:38:44 +0100 |
commit | aee782c192aedc7485c4b2994ff8ad59e72cce78 (patch) | |
tree | 3fb1acb013570c9893c6f67895080df2430a8389 /src/libutil | |
parent | b0cfe2f7a8cd1e15c6eb199aa35e22adbf813786 (diff) | |
download | rspamd-aee782c192aedc7485c4b2994ff8ad59e72cce78.tar.gz rspamd-aee782c192aedc7485c4b2994ff8ad59e72cce78.zip |
[Minor] Fix compile issues
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/cxx/util.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/cxx/util.hxx b/src/libutil/cxx/util.hxx index 2e0308bd2..e45f16008 100644 --- a/src/libutil/cxx/util.hxx +++ b/src/libutil/cxx/util.hxx @@ -140,7 +140,7 @@ public: using size_type = typename std::allocator<T>::size_type; template<class U> struct rebind { typedef secure_mem_allocator<U> other; }; secure_mem_allocator() noexcept = default; - secure_mem_allocator(const secure_mem_allocator &) noexcept {} + secure_mem_allocator(const secure_mem_allocator &_) noexcept : std::allocator<T>(_) {} template <class U> explicit secure_mem_allocator(const secure_mem_allocator<U>&) noexcept {} void deallocate(pointer p, size_type num) noexcept { |