summaryrefslogtreecommitdiffstats
path: root/src/web_service/web_backend.cpp
diff options
context:
space:
mode:
authorAlexandre Bouvier <contact@amb.tf>2023-02-18 23:24:04 +0100
committerAlexandre Bouvier <contact@amb.tf>2023-02-21 20:55:37 +0100
commit83afc124759673af58435b8791dd357bf751642c (patch)
tree69c862d2fea91b6fd4eec0eb79686fe74460a524 /src/web_service/web_backend.cpp
parentMerge pull request #9834 from german77/reverted (diff)
downloadyuzu-83afc124759673af58435b8791dd357bf751642c.tar
yuzu-83afc124759673af58435b8791dd357bf751642c.tar.gz
yuzu-83afc124759673af58435b8791dd357bf751642c.tar.bz2
yuzu-83afc124759673af58435b8791dd357bf751642c.tar.lz
yuzu-83afc124759673af58435b8791dd357bf751642c.tar.xz
yuzu-83afc124759673af58435b8791dd357bf751642c.tar.zst
yuzu-83afc124759673af58435b8791dd357bf751642c.zip
Diffstat (limited to '')
-rw-r--r--src/web_service/web_backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp
index 12a7e4922..dff380cca 100644
--- a/src/web_service/web_backend.cpp
+++ b/src/web_service/web_backend.cpp
@@ -71,7 +71,7 @@ struct Client::Impl {
const std::string& jwt_ = "", const std::string& username_ = "",
const std::string& token_ = "") {
if (cli == nullptr) {
- cli = std::make_unique<httplib::Client>(host.c_str());
+ cli = std::make_unique<httplib::Client>(host);
}
if (!cli->is_valid()) {