Skip to content

Commit 16a1c29

Browse files
authored
Fix integer fields causing impl promotion (#1551)
1 parent b9553a9 commit 16a1c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppwinrt/code_writers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2916,7 +2916,7 @@ struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable<T, D, %>
29162916

29172917
for (auto&& field : type.fields)
29182918
{
2919-
if (field.second.find(':') == std::string::npos)
2919+
if (field.second.find(':') == std::string::npos || starts_with(field.second, "std::"))
29202920
{
29212921
continue;
29222922
}

0 commit comments

Comments
 (0)