summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-04 06:51:02 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-01-07 22:29:26 +0200
commit9fe225a79fe1f3a3b63c7064bba5e1920974effd (patch)
tree6f54bb7ec6241832be05c4b598dfa0797d72b655 /include
parent7d66a45b8d91994ed0b9db368282b0e1135bfb44 (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>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/bound_method.h3
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_;
};