diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/internal/yaml_parser.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libcamera/internal/yaml_parser.h b/include/libcamera/internal/yaml_parser.h index be5f0914..29b7b218 100644 --- a/include/libcamera/internal/yaml_parser.h +++ b/include/libcamera/internal/yaml_parser.h @@ -44,12 +44,12 @@ public: #ifndef __DOXYGEN__ template<typename T, typename std::enable_if_t< - std::is_same<bool, T>::value || - std::is_same<double, T>::value || - std::is_same<int32_t, T>::value || - std::is_same<uint32_t, T>::value || - std::is_same<std::string, T>::value || - std::is_same<Size, T>::value> * = nullptr> + std::is_same_v<bool, T> || + std::is_same_v<double, T> || + std::is_same_v<int32_t, T> || + std::is_same_v<uint32_t, T> || + std::is_same_v<std::string, T> || + std::is_same_v<Size, T>> * = nullptr> #else template<typename T> #endif |