aboutsummaryrefslogtreecommitdiffstats
path: root/pulse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pulse.cc')
-rw-r--r--pulse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pulse.cc b/pulse.cc
index ae4ccf2..6617a4f 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -265,7 +265,7 @@ void PulseClient::mainloop_iterate(pa_operation* op) {
}
template<class T>
-T* PulseClient::find_fuzzy(vector<T> haystack, const string& needle) {
+T* PulseClient::find_fuzzy(vector<T>& haystack, const string& needle) {
vector<T*> res;
for (T& item : haystack) {