diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-04 06:51:02 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-01-07 22:29:26 +0200 |
commit | 9fe225a79fe1f3a3b63c7064bba5e1920974effd (patch) | |
tree | 6f54bb7ec6241832be05c4b598dfa0797d72b655 | |
parent | 7d66a45b8d91994ed0b9db368282b0e1135bfb44 (diff) |
libcamera: bound_method: Drop unused BoundMethodBase::connectionType()
The BoundMethodBase::connectionType() method isn't used, drop it. While
it at make the connectionType_ member private as it is only used by the
class.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
-rw-r--r-- | include/libcamera/bound_method.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libcamera/bound_method.h b/include/libcamera/bound_method.h index f23b17c7..a1541212 100644 --- a/include/libcamera/bound_method.h +++ b/include/libcamera/bound_method.h @@ -35,7 +35,6 @@ public: bool match(Object *object) { return object == object_; } Object *object() const { return object_; } - ConnectionType connectionType() const { return connectionType_; } virtual void invokePack(void *pack) = 0; @@ -44,6 +43,8 @@ protected: void *obj_; Object *object_; + +private: ConnectionType connectionType_; }; |