Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86aeb5ff authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge \\"Fix clang-tidy performance warnings in metricsd/uploader.\\" am: 56700050

am: a5a6ab72

Change-Id: I0cae77b1a560ff1b8ea14c76a39e2baf02c9f2f3
parents 3032c5cc a5a6ab72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#include <brillo/http/http_utils.h>
#include <brillo/mime_utils.h>

HttpSender::HttpSender(const std::string server_url)
HttpSender::HttpSender(const std::string& server_url)
    : server_url_(server_url) {}

bool HttpSender::Send(const std::string& content,
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
// Sender implemented using http_utils from libbrillo
class HttpSender : public Sender {
 public:
  explicit HttpSender(std::string server_url);
  explicit HttpSender(const std::string& server_url);
  ~HttpSender() override = default;
  // Sends |content| whose SHA1 hash is |hash| to server_url with a synchronous
  // POST request to server_url.