13
0

fix call to std::unique; to actually erase dups.

This commit is contained in:
Robin Gareus 2017-11-23 10:23:54 +01:00
parent 3ac66ce022
commit 07f940016c

View File

@ -158,8 +158,8 @@ AudioLibrary::search_members_and (vector<string>& members, const vector<string>&
}
lrdf_free_uris(ulist);
sort(members.begin(), members.end());
unique(members.begin(), members.end());
sort (members.begin(), members.end());
members.erase (unique (members.begin(), members.end()), members.end());
}
// memory clean up