summaryrefslogtreecommitdiff
path: root/include/libcamera/base/bound_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/bound_method.h')
-rw-r--r--include/libcamera/base/bound_method.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/base/bound_method.h b/include/libcamera/base/bound_method.h
index e73a4d98..c0275249 100644
--- a/include/libcamera/base/bound_method.h
+++ b/include/libcamera/base/bound_method.h
@@ -72,7 +72,7 @@ public:
}
virtual ~BoundMethodBase() = default;
- template<typename T, typename std::enable_if_t<!std::is_same<Object, T>::value> * = nullptr>
+ template<typename T, std::enable_if_t<!std::is_same<Object, T>::value> * = nullptr>
bool match(T *obj) { return obj == obj_; }
bool match(Object *object) { return object == object_; }