summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibAudio/ConnectionToServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibAudio/ConnectionToServer.h')
-rw-r--r--Userland/Libraries/LibAudio/ConnectionToServer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibAudio/ConnectionToServer.h b/Userland/Libraries/LibAudio/ConnectionToServer.h
index bd63e226a1..c98ecb973e 100644
--- a/Userland/Libraries/LibAudio/ConnectionToServer.h
+++ b/Userland/Libraries/LibAudio/ConnectionToServer.h
@@ -36,7 +36,7 @@ public:
template<ArrayLike<Sample> Samples>
ErrorOr<void> async_enqueue(Samples&& samples)
{
- return async_enqueue(TRY(FixedArray<Sample>::try_create(samples.span())));
+ return async_enqueue(TRY(FixedArray<Sample>::create(samples.span())));
}
ErrorOr<void> async_enqueue(FixedArray<Sample>&& samples);