diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-12 13:24:45 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-12 13:24:45 +0200 |
commit | dc65f54c065364225f0113a9339af72735547779 (patch) | |
tree | 60a8b9d37c6236748bfa310a564150d688595183 /Userland/Services | |
parent | 7e1bffdeb85c832c7cea1a71e2c9e9ebe7ff96ae (diff) | |
download | serenity-dc65f54c065364225f0113a9339af72735547779.zip |
AK: Rename Vector::append(Vector) => Vector::extend(Vector)
Let's make it a bit more clear when we're appending the elements from
one vector to the end of another vector.
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/AudioServer/Mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/AudioServer/Mixer.cpp b/Userland/Services/AudioServer/Mixer.cpp index 8e5d8b785b..e1ed63d1ce 100644 --- a/Userland/Services/AudioServer/Mixer.cpp +++ b/Userland/Services/AudioServer/Mixer.cpp @@ -59,7 +59,7 @@ void Mixer::mix() if (active_mix_queues.is_empty() || m_added_queue) { pthread_mutex_lock(&m_pending_mutex); pthread_cond_wait(&m_pending_cond, &m_pending_mutex); - active_mix_queues.append(move(m_pending_mixing)); + active_mix_queues.extend(move(m_pending_mixing)); pthread_mutex_unlock(&m_pending_mutex); m_added_queue = false; } |