summaryrefslogtreecommitdiff
path: root/include/libcamera/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/object.h')
-rw-r--r--include/libcamera/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/object.h b/include/libcamera/object.h
index 4d16f3f2..9a3dd070 100644
--- a/include/libcamera/object.h
+++ b/include/libcamera/object.h
@@ -30,7 +30,7 @@ public:
void postMessage(std::unique_ptr<Message> msg);
template<typename T, typename R, typename... FuncArgs, typename... Args,
- typename std::enable_if<std::is_base_of<Object, T>::value>::type * = nullptr>
+ typename std::enable_if_t<std::is_base_of<Object, T>::value> * = nullptr>
R invokeMethod(R (T::*func)(FuncArgs...), ConnectionType type,
Args... args)
{