Skip to content

Commit bba7064

Browse files
committed
Fix future name clash warning
1 parent 1994450 commit bba7064

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ state is to list breaking changes.
1818
that the remote controls exposed through `ClapPlugin::remote_controls()` now
1919
use the non-draft extension.
2020

21+
### Fixed
22+
23+
- Fixed a warning about future name clashes when compiling `nih_plug`.
24+
2125
## [2024-12-23]
2226

2327
### Added

src/params/persist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ macro_rules! impl_persistent_arc {
3838
T: serde::Serialize + serde::Deserialize<'a> + Send + Sync,
3939
{
4040
fn set(&self, new_value: T) {
41-
self.as_ref().set(new_value);
41+
PersistentField::set(self.as_ref(), new_value);
4242
}
4343
fn map<F, R>(&self, f: F) -> R
4444
where

0 commit comments

Comments
 (0)