From 252ab3c5becabcd7d2a7a75a8ef04de37d5f8418 Mon Sep 17 00:00:00 2001 From: m-hilgendorf Date: Sat, 26 Aug 2023 12:30:50 -0500 Subject: [PATCH] Added explicit module path in nih_export_clap. --- src/wrapper/clap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrapper/clap.rs b/src/wrapper/clap.rs index 76281208..57ddd1e4 100644 --- a/src/wrapper/clap.rs +++ b/src/wrapper/clap.rs @@ -102,7 +102,7 @@ macro_rules! nih_export_clap { // Arc does not have a convenient leak function like Box, so this gets a bit awkward // This pointer gets turned into an Arc and its reference count decremented in // [Wrapper::destroy()] - return (*Arc::into_raw(::nih_plug::wrapper::clap::Wrapper::<$plugin_ty>::new(host))) + return (*::std::sync::Arc::into_raw(::nih_plug::wrapper::clap::Wrapper::<$plugin_ty>::new(host))) .clap_plugin .as_ptr(); }