Made sure that struct names can be retrieved on MSVC

This commit is contained in:
Patrick Urbanke
2023-12-03 17:04:12 +01:00
parent 1382a2a505
commit f2fb381063
+1 -1
View File
@@ -23,7 +23,7 @@ std::string get_struct_name_impl() {
if (begin == std::string::npos) {
return "AnonymousStruct";
}
const size_t end = func_name.find_first_of("])};", begin);
const size_t end = func_name.find_first_of("])}>;", begin);
if (end == std::string::npos) {
return "AnonymousStruct";
}