aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2022-03-18 19:25:09 +0000
committerGitHub <noreply@github.com>2022-03-18 19:25:09 +0000
commite40af70a7d62bd3784d5fcab7801d8db58370b97 (patch)
tree7cbf877729dcf1a42b54b40078df7d403d2dce71
parent04517756f52011a68fe00dad52c2cfee5a24f8a0 (diff)
parent11318c481d585bc7567078598fcf6ebc41d2c890 (diff)
downloadrspamd-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.hxx2
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)))
{
}