Merge remote-tracking branches 'neheb/uniq', 'neheb/bool', 'neheb/loop', 'neheb/bool2', 'neheb/perf', 'neheb/void' and 'neheb/value'

This commit is contained in:
Max Kellermann
2020-02-02 16:22:19 +01:00
26 changed files with 49 additions and 51 deletions

View File

@@ -33,7 +33,7 @@ InputPlugin::SupportsUri(const char *uri) const noexcept
if (StringStartsWithIgnoreCase(uri, *i))
return true;
} else {
for (auto schema : protocols()) {
for (const auto& schema : protocols()) {
if (StringStartsWithIgnoreCase(uri, schema.c_str())){
return true;
}

View File

@@ -162,7 +162,7 @@ parse_cdio_uri(const char *src)
}
static AllocatedPath
cdio_detect_device(void)
cdio_detect_device()
{
char **devices = cdio_get_devices_with_cap(nullptr, CDIO_FS_AUDIO,
false);