From 36c980ba6fc981a7fb33ede2d4efd84878a6af69 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 23 Feb 2020 23:06:57 -0500 Subject: [PATCH] Fix --no-http compile --- src/client/http/Request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/http/Request.cpp b/src/client/http/Request.cpp index 3f38a74c5..b1e235a07 100644 --- a/src/client/http/Request.cpp +++ b/src/client/http/Request.cpp @@ -56,9 +56,9 @@ namespace http // add post data to a request void Request::AddPostData(std::map data) { +#ifndef NOHTTP // Even if the map is empty, calling this function signifies you want to do a POST request isPost = true; -#ifndef NOHTTP if (!data.size()) { return;