From: <sv...@op...> - 2024-08-14 14:45:31
|
Author: manx Date: Wed Aug 14 16:45:19 2024 New Revision: 21438 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21438 Log: [Var] Run clang-format. Modified: trunk/OpenMPT/src/mpt/base/algorithm.hpp Modified: trunk/OpenMPT/src/mpt/base/algorithm.hpp ============================================================================== --- trunk/OpenMPT/src/mpt/base/algorithm.hpp Wed Aug 14 16:36:34 2024 (r21437) +++ trunk/OpenMPT/src/mpt/base/algorithm.hpp Wed Aug 14 16:45:19 2024 (r21438) @@ -59,16 +59,16 @@ struct has_find<Container, Ret(Args...)> { private: template <typename T> - static constexpr inline auto check(T *) -> typename std::is_same<decltype(std::declval<T>().find(std::declval<Args>()...)), Ret>::type { + static constexpr inline auto check(T *) -> typename std::is_same<decltype(std::declval<T>().find(std::declval<Args>()...)), Ret>::type { return {}; } - template <typename T> + template <typename T> static constexpr inline std::false_type check(...) { return {}; } public: - typedef decltype(check<Container>(nullptr)) type; - static constexpr inline bool value = type::value; + typedef decltype(check<Container>(nullptr)) type; + static constexpr inline bool value = type::value; }; template <typename Tcontainer, typename Tval> |