File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
samples/components/json_validator_winrt/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ unsafe extern "system" fn DllGetActivationFactory(
74
74
75
75
let mut factory: Option < IActivationFactory > = None ;
76
76
77
- if name. read ( ) == "Sample.JsonValidator" {
77
+ if * name == "Sample.JsonValidator" {
78
78
factory = Some ( JsonValidatorFactory . into ( ) ) ;
79
79
}
80
80
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ unsafe extern "system" fn DllGetActivationFactory(
74
74
name : Ref < HSTRING > ,
75
75
factory : RefMut < IActivationFactory > ,
76
76
) -> HRESULT {
77
- if name. read ( ) == "test_component.Class" {
77
+ if * name == "test_component.Class" {
78
78
factory. write ( Some ( ClassFactory . into ( ) ) ) . into ( )
79
79
} else {
80
80
_ = factory. write ( None ) ;
You can’t perform that action at this time.
0 commit comments