From 1715b7ed089a8c3009ca39e0bd3081da217c61bc Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 28 Jul 2022 13:34:55 +0300 Subject: libcamera: Drop unnecessary typename keyword used with std::enable_if_t Usage of the std::enable_if_t type doesn't need to be prefixed by typename. Drop the unnecessary keyword. Reported-by: Jacopo Mondi Signed-off-by: Laurent Pinchart Reviewed-by: Umang Jain Reviewed-by: Jacopo Mondi --- include/libcamera/base/signal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/libcamera/base/signal.h') diff --git a/include/libcamera/base/signal.h b/include/libcamera/base/signal.h index 91000d0d..efb591bc 100644 --- a/include/libcamera/base/signal.h +++ b/include/libcamera/base/signal.h @@ -44,7 +44,7 @@ public: } #ifndef __DOXYGEN__ - template::value> * = nullptr> + template::value> * = nullptr> void connect(T *obj, R (T::*func)(Args...), ConnectionType type = ConnectionTypeAuto) { @@ -52,7 +52,7 @@ public: SignalBase::connect(new BoundMethodMember(obj, object, func, type)); } - template::value> * = nullptr> + template::value> * = nullptr> #else template #endif @@ -63,7 +63,7 @@ public: #ifndef __DOXYGEN__ template::value> * = nullptr> + std::enable_if_t::value> * = nullptr> void connect(T *obj, Func func, ConnectionType type = ConnectionTypeAuto) { Object *object = static_cast(obj); @@ -71,7 +71,7 @@ public: } template::value> * = nullptr> + std::enable_if_t::value> * = nullptr> #else template #endif -- cgit v1.2.1