Add clang-tidy support for the CDM
Bug: 256230932 Change-Id: Id3fcf024cd7dcf95218876b81359d6418f5aa067
This commit is contained in:
@@ -204,7 +204,7 @@ std::string LicenseHolder::MakeUrl(const std::string& server_url,
|
||||
}
|
||||
// If there is already a parameter, then we don't need to add another
|
||||
// question mark.
|
||||
return path + ((path.find("?") == std::string::npos) ? "?" : "&") +
|
||||
return path + ((path.find('?') == std::string::npos) ? '?' : '&') +
|
||||
video_query;
|
||||
} else {
|
||||
return path;
|
||||
|
||||
Reference in New Issue
Block a user