fix call to std::unique; to actually erase dups.
This commit is contained in:
parent
3ac66ce022
commit
07f940016c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user