From 49685c39895af67d7ffcc50fdc02150b6ee44f72 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:01:53 -0400 Subject: fix up a bunch of clang-tidy stuff mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past --- src/http.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/http.cpp') diff --git a/src/http.cpp b/src/http.cpp index 877970a..7338d39 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -1,8 +1,10 @@ #include "http.hpp" +#include + namespace http { -request::request(EMethod method, const std::string &url) - : m_url(url) { +request::request(EMethod method, std::string url) + : m_url(std::move(url)) { switch (method) { case REQUEST_GET: m_method = "GET"; -- cgit v1.2.3