Fix future name clash warning

This commit is contained in:
Robbert van der Helm
2025-02-23 22:01:04 +01:00
parent 1994450ba1
commit bba7064441
2 changed files with 5 additions and 1 deletions

View File

@@ -18,6 +18,10 @@ state is to list breaking changes.
that the remote controls exposed through `ClapPlugin::remote_controls()` now that the remote controls exposed through `ClapPlugin::remote_controls()` now
use the non-draft extension. use the non-draft extension.
### Fixed
- Fixed a warning about future name clashes when compiling `nih_plug`.
## [2024-12-23] ## [2024-12-23]
### Added ### Added

View File

@@ -38,7 +38,7 @@ macro_rules! impl_persistent_arc {
T: serde::Serialize + serde::Deserialize<'a> + Send + Sync, T: serde::Serialize + serde::Deserialize<'a> + Send + Sync,
{ {
fn set(&self, new_value: T) { fn set(&self, new_value: T) {
self.as_ref().set(new_value); PersistentField::set(self.as_ref(), new_value);
} }
fn map<F, R>(&self, f: F) -> R fn map<F, R>(&self, f: F) -> R
where where