mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-02 22:06:29 +00:00
Comment out unused function
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
/*
|
||||||
void WriteHttpDebug(const httplib::Client& client, const std::string& method, const std::string& target, const httplib::Result& result) try {
|
void WriteHttpDebug(const httplib::Client& client, const std::string& method, const std::string& target, const httplib::Result& result) try {
|
||||||
const std::filesystem::path folder = ".https_debug";
|
const std::filesystem::path folder = ".https_debug";
|
||||||
std::filesystem::create_directories(folder);
|
std::filesystem::create_directories(folder);
|
||||||
@@ -58,7 +58,7 @@ void WriteHttpDebug(const httplib::Client& client, const std::string& method, co
|
|||||||
of << js.dump();
|
of << js.dump();
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
error(e.what());
|
error(e.what());
|
||||||
}
|
}*/
|
||||||
|
|
||||||
static size_t CurlWriteCallback(void* contents, size_t size, size_t nmemb, void* userp) {
|
static size_t CurlWriteCallback(void* contents, size_t size, size_t nmemb, void* userp) {
|
||||||
std::string* Result = reinterpret_cast<std::string*>(userp);
|
std::string* Result = reinterpret_cast<std::string*>(userp);
|
||||||
|
|||||||
Reference in New Issue
Block a user