mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix future name clash warning
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user