Get it to compile for windows in debug mode

This commit is contained in:
loki 2020-01-03 20:25:21 +01:00
commit a3f8ab5da1
4 changed files with 71 additions and 7 deletions

View file

@ -76,6 +76,8 @@ struct pair_session_t {
// uniqueID, session
std::unordered_map<std::string, pair_session_t> map_id_sess;
std::unordered_map<std::string, client_t> map_id_client;
std::string local_ip;
net::net_e origin_pin_allowed;
using args_t = SimpleWeb::CaseInsensitiveMultimap;
using resp_https_t = std::shared_ptr<typename SimpleWeb::ServerBase<SimpleWeb::HTTPS>::Response>;
@ -88,9 +90,6 @@ enum class op_e {
REMOVE
};
std::string local_ip;
net::net_e origin_pin_allowed;
void save_devices() {
pt::ptree root;