From 31a7d6e493d6d9559cb22a29d7e423c375f57fef Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Fri, 20 Mar 2026 22:39:01 -0400 Subject: [PATCH] Fix integer fields causing impl promotion --- cppwinrt/code_writers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cppwinrt/code_writers.h b/cppwinrt/code_writers.h index 0a4c4638e..fc5081bef 100644 --- a/cppwinrt/code_writers.h +++ b/cppwinrt/code_writers.h @@ -2916,7 +2916,7 @@ struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable for (auto&& field : type.fields) { - if (field.second.find(':') == std::string::npos) + if (field.second.find(':') == std::string::npos || starts_with(field.second, "std::")) { continue; }