Skip to content

Commit

Permalink
Just send it
Browse files Browse the repository at this point in the history
  • Loading branch information
fishrockz committed Jan 21, 2025
1 parent dc12aa5 commit 3a1f52c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcamera/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ pub trait UniquePtrTarget: Sized {
pub struct UniquePtr<T: UniquePtrTarget> {
ptr: NonNull<T>,
}
unsafe impl<T: UniquePtrTarget> Send for UniquePtr<T> {}

impl<T: UniquePtrTarget> UniquePtr<T> {
pub fn new() -> Self {
Expand Down

0 comments on commit 3a1f52c

Please sign in to comment.