summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/controls.h10
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_;