Skip to content

Commit 8274532

Browse files
committed
Fix missing method.
1 parent a1cccc0 commit 8274532

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/nuget/TestRuntimeComponentEmpty/module.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ bool __stdcall winrt_can_unload_now() noexcept
1313
}
1414

1515
void* __stdcall TestStaticLibrary5_get_activation_factory(std::wstring_view const& name);
16+
void* __stdcall TestStaticLibrary6_get_activation_factory(std::wstring_view const& name);
1617

1718
void* __stdcall winrt_get_activation_factory(std::wstring_view const& name)
1819
{
@@ -21,6 +22,11 @@ void* __stdcall winrt_get_activation_factory(std::wstring_view const& name)
2122
{
2223
return factory;
2324
}
25+
factory = TestStaticLibrary6_get_activation_factory(name);
26+
if (factory)
27+
{
28+
return factory;
29+
}
2430

2531
return nullptr;
2632
}

0 commit comments

Comments
 (0)