summaryrefslogtreecommitdiff
path: root/include/libcamera/bound_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/bound_method.h')
-rw-r--r--include/libcamera/bound_method.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/bound_method.h b/include/libcamera/bound_method.h
index d1e44483..95a95653 100644
--- a/include/libcamera/bound_method.h
+++ b/include/libcamera/bound_method.h
@@ -26,7 +26,7 @@ enum ConnectionType {
class BoundMethodPackBase
{
public:
- virtual ~BoundMethodPackBase() {}
+ virtual ~BoundMethodPackBase() = default;
};
template<typename R, typename... Args>
@@ -61,7 +61,7 @@ public:
: obj_(obj), object_(object), connectionType_(type)
{
}
- virtual ~BoundMethodBase() {}
+ virtual ~BoundMethodBase() = default;
template<typename T, typename std::enable_if_t<!std::is_same<Object, T>::value> * = nullptr>
bool match(T *obj) { return obj == obj_; }