summaryrefslogtreecommitdiffstats
path: root/include/curl_wrapper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/curl_wrapper.hpp')
-rw-r--r--include/curl_wrapper.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/curl_wrapper.hpp b/include/curl_wrapper.hpp
index 6a088ff..c98a6a9 100644
--- a/include/curl_wrapper.hpp
+++ b/include/curl_wrapper.hpp
@@ -17,6 +17,8 @@
#ifndef MASTODONPP_CURL_WRAPPER_HPP
#define MASTODONPP_CURL_WRAPPER_HPP
+#include "return_types.hpp"
+
#include "curl/curl.h"
#include <string>
@@ -89,7 +91,7 @@ public:
* @since 0.1.0
*/
[[nodiscard]]
- string make_request(const http_method &meth, const string_view &uri);
+ answer_type make_request(const http_method &meth, const string_view &uri);
private:
CURL *_connection;