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>
This commit is contained in:
Jacopo Mondi 2020-01-02 15:45:17 +01:00 committed by Laurent Pinchart
parent 8c051160e7
commit dd09239600
2 changed files with 52 additions and 52 deletions

View file

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