aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/adbd-client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adbd-client.cpp b/src/adbd-client.cpp
index 400c7c9..e436a43 100644
--- a/src/adbd-client.cpp
+++ b/src/adbd-client.cpp
@@ -66,7 +66,7 @@ private:
GCancellable* cancellable = nullptr;
const std::string public_key;
- PKIdleData(Impl* self_, GCancellable* cancellable_, std::string public_key_):
+ PKIdleData(Impl* self_, GCancellable* cancellable_, const std::string& public_key_):
self(self_),
cancellable(G_CANCELLABLE(g_object_ref(cancellable_))),
public_key(public_key_) {}