Skip to content

Commit

Permalink
Update projections writer
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Feb 2, 2024
1 parent ad5bdc2 commit 2671191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cswinrt/code_writers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2138,7 +2138,7 @@ ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
auto objrefname = w.write_temp("%", bind<write_objref_type_name>(class_type));

w.write(R"(
public %() : this(%(WinRT.IActivationFactoryMethods.ActivateInstance<IUnknownVftbl>(%)))
public %() : this(%(global::ABI.WinRT.Interop.IActivationFactoryMethods.ActivateInstanceUnsafe(%)))
{
ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
%
Expand Down

0 comments on commit 2671191

Please sign in to comment.