From 6f697e06efec9bea61264d7f3f7805322e5e415b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20Lie=CC=81tar?= Date: Fri, 10 Apr 2020 12:54:09 +0200 Subject: [PATCH] Add missing closing > --- src/ds/helpers.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ds/helpers.h b/src/ds/helpers.h index 00159f8..c2f2ead 100644 --- a/src/ds/helpers.h +++ b/src/ds/helpers.h @@ -120,8 +120,9 @@ namespace snmalloc // copy / move constructors. template< typename Fn, - typename = std::enable_if_t< - !std::is_same_v, function_ref>> function_ref(Fn&& fn) + typename = + std::enable_if_t, function_ref>>> + function_ref(Fn&& fn) { data_ = static_cast(&fn); fn_ = execute;