libcamera: Drop unnecessary typename keyword used with std::enable_if_t

Usage of the std::enable_if_t type doesn't need to be prefixed by
typename. Drop the unnecessary keyword.

Reported-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart
2022-07-28 18:47:17 +03:00
parent c19150ea94
commit 1715b7ed08
8 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -307,7 +307,7 @@ std::optional<Size> YamlObject::get() const
#ifndef __DOXYGEN__
template<typename T,
typename std::enable_if_t<
std::enable_if_t<
std::is_same_v<bool, T> ||
std::is_same_v<double, T> ||
std::is_same_v<int16_t, T> ||