Commit f1482964 authored by Bailey Berro's avatar Bailey Berro Committed by Commit Bot

AuthPolicy: remove extraneous std::move call

This change removes an unnecessary call to std::move in
AuthPolicyClient::ConnectToSignal.

Bug: none
Change-Id: Id7fcb10e6b188d0a3058815c3078405f9634801a
Reviewed-on: https://chromium-review.googlesource.com/1028229Reviewed-by: default avatarLutz Justen <ljusten@chromium.org>
Reviewed-by: default avatarRoman Sorokin <rsorokin@chromium.org>
Commit-Queue: Roman Sorokin <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#553958}
parent 2e3fce61
......@@ -154,8 +154,8 @@ class AuthPolicyClientImpl : public AuthPolicyClient {
const std::string& signal_name,
dbus::ObjectProxy::SignalCallback signal_callback,
dbus::ObjectProxy::OnConnectedCallback on_connected_callback) override {
proxy_->ConnectToSignal(authpolicy::kAuthPolicyInterface,
std::move(signal_name), std::move(signal_callback),
proxy_->ConnectToSignal(authpolicy::kAuthPolicyInterface, signal_name,
std::move(signal_callback),
std::move(on_connected_callback));
}
......
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