Skip to content

Commit 6653b36

Browse files
TypeName: add missing first level enum struct in front of the type (#12)
1 parent b35b469 commit 6653b36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/NazaraUtils/TypeName.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Nz
3232
#ifdef NAZARA_COMPILER_MSVC
3333
// strip first-level class/struct in front of the type
3434

35-
for (std::string_view typePrefix : { "class "sv, "struct "sv, "enum "sv, "enum class "sv })
35+
for (std::string_view typePrefix : { "class "sv, "struct "sv, "enum "sv, "enum class "sv, "enum struct"sv })
3636
{
3737
if (typeName.substr(0, typePrefix.size()) == typePrefix)
3838
{

0 commit comments

Comments
 (0)