[libcamera-devel] [PATCH] libcamera: controls: Remove rogue ';'
Jacopo Mondi
jacopo at jmondi.org
Tue Oct 22 15:35:51 CEST 2019
The ';' at the end of an inline method declaration is not required.
Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
include/libcamera/controls.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index 0d279d508dcc..42e6df7e613d 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -30,8 +30,8 @@ public:
ControlValue(int32_t value);
ControlValue(int64_t value);
- ControlType type() const { return type_; };
- bool isNone() const { return type_ == ControlTypeNone; };
+ ControlType type() const { return type_; }
+ bool isNone() const { return type_ == ControlTypeNone; }
template<typename T>
const T &get() const;
--
2.23.0
More information about the libcamera-devel
mailing list