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>
This commit is contained in:
Laurent Pinchart
2020-01-04 06:51:02 +02:00
parent 7d66a45b8d
commit 9fe225a79f

View File

@@ -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_;
};