diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-01-02 15:45:17 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-06 18:10:17 +0200 |
commit | dd0923960040a0a8832b581c7a7e8d3a14b5061f (patch) | |
tree | 63b609132392a374461d134b54000d4e64b7eda1 /include | |
parent | 8c051160e7a36d57493b25016f94a900b1260c04 (diff) |
libcamera: controls: Reorder ControlValue methods
Reorder functions in ControlValue class to group const methods together.
Cosmetic change only.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/controls.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h index 458b84e8..9f8a9031 100644 --- a/include/libcamera/controls.h +++ b/include/libcamera/controls.h @@ -33,11 +33,6 @@ public: ControlType type() const { return type_; } bool isNone() const { return type_ == ControlTypeNone; } - template<typename T> - const T &get() const; - template<typename T> - void set(const T &value); - std::string toString() const; bool operator==(const ControlValue &other) const; @@ -46,6 +41,11 @@ public: return !(*this == other); } + template<typename T> + const T &get() const; + template<typename T> + void set(const T &value); + private: ControlType type_; |