Skip to content

Commit

Permalink
add proper depends
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbrix committed Jan 23, 2024
1 parent 2b57859 commit 2630013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swiftwinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ bind_bridge_fullname(type));
static std::string modifier_for(typedef_base const& type_definition, interface_info const& iface, member_type member_type = member_type::property_or_method);
static void write_interface_impl_members(writer& w, interface_info const& info, typedef_base const& type_definition)
{
w.add_depends(type_definition);
w.add_depends(*info.type);
bool is_class = swiftwinrt::is_class(&type_definition);

if (!info.is_default || (!is_class && info.base))
Expand Down

0 comments on commit 2630013

Please sign in to comment.