Commit 13b3cbcb authored by Maksim Ivanov's avatar Maksim Ivanov Committed by Commit Bot

Fix useless move() in //c/credential_provider/gaiacp/

Drop std::move() call that has no effect and only triggers the
"bugprone-use-after-move" clang-tidy warning.

Bug: 1122844
Change-Id: Icf792dbe102e61976e7f86454d2bdc8fcf369979
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2560269
Commit-Queue: Yusuf Sengul <yusufsn@google.com>
Auto-Submit: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: default avatarYusuf Sengul <yusufsn@google.com>
Cr-Commit-Position: refs/heads/master@{#831092}
parent 66c4141a
......@@ -62,8 +62,7 @@ TEST_P(GemDeviceDetailsExtensionTest, WithUserDeviceContext) {
}
base::Value expected_response_value(base::Value::Type::DICTIONARY);
expected_response_value.SetStringKey("deviceResourceId",
std::move(device_resource_id));
expected_response_value.SetStringKey("deviceResourceId", device_resource_id);
std::string expected_response;
base::JSONWriter::Write(expected_response_value, &expected_response);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment