diff options
Diffstat (limited to 'Userland/Applications/Piano/Track.cpp')
-rw-r--r-- | Userland/Applications/Piano/Track.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Piano/Track.cpp b/Userland/Applications/Piano/Track.cpp index 4fcba80f5a..0743db4e6e 100644 --- a/Userland/Applications/Piano/Track.cpp +++ b/Userland/Applications/Piano/Track.cpp @@ -123,7 +123,7 @@ void Track::reset() m_roll_iterators[note] = m_roll_notes[note].begin(); } -String Track::set_recorded_sample(const StringView& path) +String Track::set_recorded_sample(StringView path) { NonnullRefPtr<Audio::Loader> loader = Audio::Loader::create(path); if (loader->has_error()) |