stabilizec CMake

This commit is contained in:
Антон
2024-03-20 22:35:24 +03:00
parent b2f0a8d4c3
commit dd8721e96a
2 changed files with 10 additions and 7 deletions

View File

@ -1,5 +1,7 @@
#include "src/sdk.h"
//
#include <boost/json.hpp>
#include <boost/json/src.hpp>
#include <boost/asio/signal_set.hpp>
#include <iostream>
#include <mutex>
@ -14,6 +16,7 @@ namespace
namespace net = boost::asio;
using namespace std::literals;
namespace sys = boost::system;
namespace json = boost::json;
namespace http = boost::beast::http;
using namespace std;
using net::ip::tcp;
@ -50,7 +53,9 @@ StringResponse HandleRequest(StringRequest&& req)
config += buf;
}
auto r = config;
string_view config_ref {config.begin(), config.end()};
auto parsed_config = json::parse(config_ref);
}
else if (equal(k_MapsPattern.begin(),
k_MapsPattern.end(),