diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2022-03-18 19:25:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 19:25:09 +0000 |
commit | e40af70a7d62bd3784d5fcab7801d8db58370b97 (patch) | |
tree | 7cbf877729dcf1a42b54b40078df7d403d2dce71 | |
parent | 04517756f52011a68fe00dad52c2cfee5a24f8a0 (diff) | |
parent | 11318c481d585bc7567078598fcf6ebc41d2c890 (diff) | |
download | rspamd-e40af70a7d62bd3784d5fcab7801d8db58370b97.tar.gz rspamd-e40af70a7d62bd3784d5fcab7801d8db58370b97.zip |
Merge pull request #4112 from msuslu/master
make gcc 8.5 happy
-rw-r--r-- | src/libutil/cxx/local_shared_ptr.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/cxx/local_shared_ptr.hxx b/src/libutil/cxx/local_shared_ptr.hxx index ac069f764..233c5df1e 100644 --- a/src/libutil/cxx/local_shared_ptr.hxx +++ b/src/libutil/cxx/local_shared_ptr.hxx @@ -128,7 +128,7 @@ public: // custom deleter template<class Y, class D, typename std::enable_if< std::is_convertible<Y*, element_type*>::value, bool>::type = true> - explicit local_shared_ptr(Y* p, D &&d) : px(p), cnt(new detail::ptr_and_refcnt(p, std::forward<D>(d))) + explicit local_shared_ptr(Y* p, D &&d) : px(p), cnt(new detail::ptr_and_refcnt<Y, D>(p, std::forward<D>(d))) { } |