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/discord/httpclient.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/discord/httpclient.hpp') diff --git a/src/discord/httpclient.hpp b/src/discord/httpclient.hpp index da8be37..47b8a4d 100644 --- a/src/discord/httpclient.hpp +++ b/src/discord/httpclient.hpp @@ -17,14 +17,14 @@ public: void SetUserAgent(std::string agent); void SetAuth(std::string auth); - void MakeDELETE(const std::string &path, std::function cb); - void MakeGET(const std::string &path, std::function cb); - void MakePATCH(const std::string &path, const std::string &payload, std::function cb); - void MakePOST(const std::string &path, const std::string &payload, std::function cb); - void MakePUT(const std::string &path, const std::string &payload, std::function cb); + void MakeDELETE(const std::string &path, const std::function &cb); + void MakeGET(const std::string &path, const std::function &cb); + void MakePATCH(const std::string &path, const std::string &payload, const std::function &cb); + void MakePOST(const std::string &path, const std::string &payload, const std::function &cb); + void MakePUT(const std::string &path, const std::string &payload, const std::function &cb); private: - void OnResponse(const http::response_type &r, std::function cb); + void OnResponse(const http::response_type &r, const std::function &cb); void CleanupFutures(); mutable std::mutex m_mutex; -- cgit v1.2.3