From 9fe225a79fe1f3a3b63c7064bba5e1920974effd Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 4 Jan 2020 06:51:02 +0200 Subject: libcamera: bound_method: Drop unused BoundMethodBase::connectionType() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Niklas Söderlund --- include/libcamera/bound_method.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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_; }; -- cgit v1.2.1