Use bool instead of auto

This commit is contained in:
Fredrik Sandhei 2024-02-29 22:52:18 +01:00
parent 0c9adb13f5
commit b20332ddb9

View File

@ -684,10 +684,11 @@ inline constexpr bool value_in_range_of(T val)
template<bool Value>
using bool_constant = std::integral_constant<bool, Value>;
template <typename T, typename BasicJsonType, typename U = uncvref_t<T>>
struct json_compatible_type
{
static constexpr auto value = !is_basic_json<U>::value && is_compatible_type<BasicJsonType, U>::value;
static constexpr bool value = !is_basic_json<U>::value && is_compatible_type<BasicJsonType, U>::value;
};
///////////////////////////////////////////////////////////////////////////////