diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-19 23:50:29 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-07-20 13:24:49 +0300 |
commit | e70a3122a9994fa12a3ba1f347c9384933544764 (patch) | |
tree | db22c53b3877984efc90b0145d5b0abdaa639046 /src | |
parent | 9caee4c662e9721db2a06d1a0db24f1a677d479d (diff) |
licamera: controls: Drop unnecessary template qualifiers in documentation
The doxygen document blocks of various ControlList function qualify
functions with full template and return type specification. This isn't
needed, and the extra verbosity makes the documentation blocks more
difficult to read. Drop the template qualifiers and return types. The
generated documentation is not affected.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/controls.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libcamera/controls.cpp b/src/libcamera/controls.cpp index 840bea4b..e3afc915 100644 --- a/src/libcamera/controls.cpp +++ b/src/libcamera/controls.cpp @@ -954,7 +954,7 @@ bool ControlList::contains(unsigned int id) const } /** - * \fn template<typename T> T ControlList::get(const Control<T> &ctrl) const + * \fn ControlList::get(const Control<T> &ctrl) const * \brief Get the value of control \a ctrl * \param[in] ctrl The control * @@ -969,7 +969,7 @@ bool ControlList::contains(unsigned int id) const */ /** - * \fn template<typename T, typename V> void ControlList::set(const Control<T> &ctrl, const V &value) + * \fn ControlList::set(const Control<T> &ctrl, const V &value) * \brief Set the control \a ctrl value to \a value * \param[in] ctrl The control * \param[in] value The control value @@ -983,8 +983,7 @@ bool ControlList::contains(unsigned int id) const */ /** - * \fn template<typename T, typename V> \ - * void ControlList::set(const Control<T> &ctrl, const std::initializer_list<V> &value) + * \fn ControlList::set(const Control<T> &ctrl, const std::initializer_list<V> &value) * \copydoc ControlList::set(const Control<T> &ctrl, const V &value) */ |