Skip to content

Commit 7d85657

Browse files
committed
Update projections writer
1 parent f5ca984 commit 7d85657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cswinrt/code_writers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,7 @@ ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
21382138
auto objrefname = w.write_temp("%", bind<write_objref_type_name>(class_type));
21392139

21402140
w.write(R"(
2141-
public %() : this(%(WinRT.IActivationFactoryMethods.ActivateInstance<IUnknownVftbl>(%)))
2141+
public %() : this(%(global::ABI.WinRT.Interop.IActivationFactoryMethods.ActivateInstanceUnsafe(%)))
21422142
{
21432143
ComWrappersSupport.RegisterObjectForInterface(this, ThisPtr);
21442144
%

0 commit comments

Comments
 (0)