From 914f4f8c192ca9b0742acb60869eca28702c2e7f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 31 Jul 2021 09:43:49 +1000 Subject: [PATCH] Fix FunctionRef copy construction The template constructor was mistaken as a copy constructor. --- src/utils.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.hh b/src/utils.hh index 9e055497..31781907 100644 --- a/src/utils.hh +++ b/src/utils.hh @@ -173,7 +173,7 @@ public: }} {} - template + template>>> FunctionRef(Target&& target) : m_target{&target}, m_invoker{[](void* target, Args... args) {