Skip to content

Commit 43f0c2e

Browse files
authored
Fix integer fields causing impl promotion (#39)
1 parent 5b5742a commit 43f0c2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cppwinrt/code_writers.h

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

29222922
for (auto&& field : type.fields)
29232923
{
2924-
if (field.second.find(':') == std::string::npos)
2924+
if (field.second.find(':') == std::string::npos || starts_with(field.second, "std::"))
29252925
{
29262926
continue;
29272927
}

0 commit comments

Comments
 (0)