Skip to content

Commit

Permalink
libstdc++: remove const from std::vector in OAuth2MintAccessTokenFetc…
Browse files Browse the repository at this point in the history
…herAdapter

std::vector<const T> is not allowed and not supported.

Bug: 957519
Change-Id: I59408d2fa4dbffd643ebea04c231b26038b17926
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4640788
Reviewed-by: Alex Ilin <alexilin@chromium.org>
Commit-Queue: Alex Ilin <alexilin@chromium.org>
Auto-Submit: Stephan Hartmann <stha09@googlemail.com>
Cr-Commit-Position: refs/heads/main@{#1161868}
  • Loading branch information
stha09 authored and Chromium LUCI CQ committed Jun 23, 2023
1 parent dab9065 commit cd82a19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions google_apis/gaia/oauth2_mint_access_token_fetcher_adapter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ void OAuth2MintAccessTokenFetcherAdapter::Start(
const std::string& client_secret,
const std::vector<std::string>& scopes) {
auto params = OAuth2MintTokenFlow::Parameters::CreateForClientFlow(
client_id,
std::vector<const base::StringPiece>(scopes.begin(), scopes.end()),
client_id, std::vector<base::StringPiece>(scopes.begin(), scopes.end()),
client_version_, client_channel_, device_id_);
if (mint_token_flow_factory_for_testing_) {
mint_token_flow_ =
Expand Down

0 comments on commit cd82a19

Please sign in to comment.