From 4d475438d5252a877a07ed533fc257fba930558a Mon Sep 17 00:00:00 2001 From: slipher Date: Sun, 5 Apr 2020 05:09:07 +0200 Subject: [PATCH] clang/error: fix: call to convertToOpaque is ambiguous --- libs/generic/callback.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/generic/callback.h b/libs/generic/callback.h index 577dd9d9..7479826c 100644 --- a/libs/generic/callback.h +++ b/libs/generic/callback.h @@ -101,7 +101,7 @@ namespace detail { // pointer - template + template::value>::type> inline const void *convertToOpaque(const T *t) { return t; } @@ -113,7 +113,7 @@ namespace detail { } }; - template + template::value>::type> inline void *convertToOpaque(T *t) { return t; } -- 2.39.2