Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Dec 29, 2023
1 parent 8aa492f commit 4821fc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/tests/component/src/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ pub mod Nested {
Method: Method::<Identity, Impl, OFFSET>,
}
}
pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool {
*iid == <IThing as ::windows_core::ComInterface>::IID
pub fn matches(iid: &::windows_core::GUID) -> bool {
iid == &<IThing as ::windows_core::ComInterface>::IID
}
}
}
Expand Down Expand Up @@ -639,7 +639,7 @@ impl IClass_Vtbl {
Input: Input::<Identity, Impl, OFFSET>,
}
}
pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool {
*iid == <IClass as ::windows_core::ComInterface>::IID
pub fn matches(iid: &::windows_core::GUID) -> bool {
iid == &<IClass as ::windows_core::ComInterface>::IID
}
}

0 comments on commit 4821fc0

Please sign in to comment.