From 9ee2d750f82f3e672a9b6374ddfe8f548775c7a6 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Thu, 21 Jul 2022 22:29:26 +0800 Subject: [PATCH] fix compile error --- libs/scrap/src/common/android.rs | 2 +- libs/scrap/src/common/quartz.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/scrap/src/common/android.rs b/libs/scrap/src/common/android.rs index e15752d8e..949188712 100644 --- a/libs/scrap/src/common/android.rs +++ b/libs/scrap/src/common/android.rs @@ -34,7 +34,7 @@ impl Capturer { } } -impl TraitCapturer for Capturer { +impl crate::TraitCapturer for Capturer { fn set_use_yuv(&mut self, _use_yuv: bool) {} fn frame<'a>(&'a mut self, _timeout: Duration) -> io::Result> { diff --git a/libs/scrap/src/common/quartz.rs b/libs/scrap/src/common/quartz.rs index b4ecf898b..6e29c2441 100644 --- a/libs/scrap/src/common/quartz.rs +++ b/libs/scrap/src/common/quartz.rs @@ -52,7 +52,7 @@ impl Capturer { } } -impl TraitCapturer for Capturer { +impl crate::TraitCapturer for Capturer { fn set_use_yuv(&mut self, use_yuv: bool) { self.use_yuv = use_yuv; }