diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-04 06:03:47 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-07 22:29:38 +0200 |
commit | dce6bb0e301a7985b302143ff4405b5526ab5dd6 (patch) | |
tree | 12b20bc13a73ee5dc34114e538ec54dadbc01ca2 /include/libcamera/object.h | |
parent | 3d1d2081714f316483dddf573105682910b026bc (diff) |
libcamera: bound_method: Rename Bound*Method to BoundMethod*
Most of the bound method classes are named with a BoundMethod prefix,
except for BoundMemberMethod and BoundStaticMethod. Rename them to
BoundMethodMember and BoundMethodStatic respectively to make the code
more coherent.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/libcamera/object.h')
-rw-r--r-- | include/libcamera/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/object.h b/include/libcamera/object.h index 04aa1839..9344af30 100644 --- a/include/libcamera/object.h +++ b/include/libcamera/object.h @@ -35,7 +35,7 @@ public: Args... args) { T *obj = static_cast<T *>(this); - auto *method = new BoundMemberMethod<T, R, FuncArgs...>(obj, this, func, type); + auto *method = new BoundMethodMember<T, R, FuncArgs...>(obj, this, func, type); return method->activate(args..., true); } |