Skip to content

Commit

Permalink
msvc type fix 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dakka committed Jun 10, 2024
1 parent 0011e84 commit 7735c9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/fix8/conjure_enum.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,7 @@ class conjure_type
if constexpr (constexpr auto lc { from.find_first_of(cs::get_spec<sval::end,stype::type_t>()) }; lc != std::string_view::npos)
{
constexpr std::string_view e1 { from.substr(lc + 1, ep - lc - 1) };
return e1;
#define chkstr0(x) \
if constexpr (constexpr auto ep##x { e1.find(cs::get_spec<sval::anon_str,stype::x>()) }; ep##x != std::string_view::npos) \
return e1.substr(ep##x + cs::get_spec<sval::anon_str,stype::x>().size(), e1.size() - ep##x - cs::get_spec<sval::anon_str,stype::x>().size())
Expand Down

0 comments on commit 7735c9b

Please sign in to comment.