Skip to content

Commit 9ce4693

Browse files
committed
Fixed issues in parse_raw_identifier_name.hpp
1 parent 0d2a505 commit 9ce4693

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/essence/meta/detail/parse_raw_identifier_name.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ namespace essence::meta::detail {
8080
// Skips 'enum', 'class', 'struct' for MSVC.
8181
return std::apply(
8282
[&, size = std::size_t{}](const auto&... args) mutable {
83-
return ((str.starts_with(args) == 0 ? (size = args.size()) : 0U), ..., size);
83+
return ((str.compare(prefix_size, args.size(), args) == 0 ? (size = args.size()) : 0U), ...,
84+
size);
8485
},
8586
language_tokens::type_prefixes);
8687
#else

0 commit comments

Comments
 (0)