diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-11 02:59:25 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-11 02:59:28 +0200 |
commit | 881bb2295d40c50a401cd05fff8eeb822ec577e9 (patch) | |
tree | 87f5ed2f86168d9c8a181323f60e9d4f104bfca8 /src | |
parent | telemetry_json: Remove unnecessary includes (diff) | |
download | yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.tar yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.tar.gz yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.tar.bz2 yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.tar.lz yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.tar.xz yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.tar.zst yuzu-881bb2295d40c50a401cd05fff8eeb822ec577e9.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/web_service/telemetry_json.cpp | 3 | ||||
-rw-r--r-- | src/web_service/telemetry_json.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/web_service/telemetry_json.cpp b/src/web_service/telemetry_json.cpp index e77950aa3..b24e806a8 100644 --- a/src/web_service/telemetry_json.cpp +++ b/src/web_service/telemetry_json.cpp @@ -8,8 +8,7 @@ namespace WebService { -TelemetryJson::TelemetryJson(const std::string& host, const std::string& username, - const std::string& token) +TelemetryJson::TelemetryJson(std::string host, std::string username, std::string token) : host(std::move(host)), username(std::move(username)), token(std::move(token)) {} TelemetryJson::~TelemetryJson() = default; diff --git a/src/web_service/telemetry_json.h b/src/web_service/telemetry_json.h index 72627a416..92ead9856 100644 --- a/src/web_service/telemetry_json.h +++ b/src/web_service/telemetry_json.h @@ -18,7 +18,7 @@ namespace WebService { */ class TelemetryJson : public Telemetry::VisitorInterface { public: - TelemetryJson(const std::string& host, const std::string& username, const std::string& token); + TelemetryJson(std::string host, std::string username, std::string token); ~TelemetryJson(); void Visit(const Telemetry::Field<bool>& field) override; |