MarcoBramini / screen-recorder

A library to capture and record your audio and video devices
GNU General Public License v3.0
10 stars 3 forks source link

use of deleted function fmt::v10::formatte #5

Open xkungxfu opened 1 year ago

xkungxfu commented 1 year ago
template <typename T, typename ParseContext>
FMT_CONSTEXPR auto parse_format_specs(ParseContext& ctx)
    -> decltype(ctx.begin())
{
  using char_type = typename ParseContext::char_type;
  using context = buffer_context<char_type>;
  using mapped_type = conditional_t<
      mapped_type_constant<T, context>::value != type::custom_type,
      decltype(arg_mapper<context>().map(std::declval<const T&>())),
      typename strip_named_arg<T>::type>;
  return formatter<mapped_type, char_type>().parse(ctx);
}

error log:

vcpkg-2023.06.20\packages\fmt_x64-windows\include\fmt\core.h:2561: error: use of deleted function 'fmt::v10::formatter<T, Char, Enable>::formatter() [with T = AVMediaType; Char = char; Enable = void]'

MarcoBramini commented 1 year ago

Sadly the fmt library got updated and i didn't set a specific version in the install commands. I will address this as soon as i have time to! Thanks for letting me know.