Skip to content

Commit

Permalink
Added explicit module path in nih_export_clap.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-hilgendorf authored and robbert-vdh committed Aug 27, 2023
1 parent 3ccaced commit 252ab3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrapper/clap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 252ab3c

Please sign in to comment.