Roll forward to cl/331709254

Signed-off-by: Alexey Polyudov <apolyudov@google.com>
Change-Id: I1f0b645549f75c08a7af4512265cef8eadc7e672
This commit is contained in:
Alexey Polyudov
2020-09-15 00:41:58 -07:00
parent 3cadfac2f4
commit 4e3f343b7a
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ std::string Utils::WrapUpgradeServiceId(const std::string& service_id) {
std::string Utils::UnwrapUpgradeServiceId(
const std::string& upgrade_service_id) {
auto pos = upgrade_service_id.find(kUpgradeServiceIdPostfix);
auto pos = upgrade_service_id.find(std::string(kUpgradeServiceIdPostfix));
if (pos != std::string::npos) {
return std::string(upgrade_service_id, 0, pos);
}