Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xkungxfu opened this issue Aug 31, 2023 · 1 comment
Open

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

xkungxfu opened this issue Aug 31, 2023 · 1 comment

Comments

@xkungxfu
Copy link

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants