SongFilter: return "const char *" instead of std::string

This commit is contained in:
Max Kellermann
2015-06-25 23:14:40 +02:00
parent c7712e2ef0
commit eb86fdfbea
5 changed files with 18 additions and 15 deletions

View File

@@ -303,7 +303,7 @@ UpnpDatabase::SearchSongs(const ContentDirectoryService &server,
} else {
cond += " = ";
}
dquote(cond, item.GetValue().c_str());
dquote(cond, item.GetValue());
}
cond += ')';
}
@@ -339,7 +339,7 @@ UpnpDatabase::SearchSongs(const ContentDirectoryService &server,
} else {
cond += " = ";
}
dquote(cond, item.GetValue().c_str());
dquote(cond, item.GetValue());
}
}