Skip to content

Commit

Permalink
PFR: fix for MSVC with Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Apr 10, 2024
1 parent 0f767ef commit 87d75fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@


#ifndef PFR_CORE_NAME_PARSING
# if defined(_MSC_VER)
# if defined(_MSC_VER) && !defined(__clang__)
# define PFR_CORE_NAME_PARSING (sizeof("auto __cdecl pfr::detail::name_of_field_impl<") - 1, sizeof(">(void) noexcept") - 1, backward("->"))
# elif defined(__clang__)
# define PFR_CORE_NAME_PARSING (sizeof("auto pfr::detail::name_of_field_impl() [MsvcWorkaround = ") - 1, sizeof("}]") - 1, backward("."))
Expand Down

0 comments on commit 87d75fa

Please sign in to comment.