1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 06:27:45 +00:00

Finish line

This commit is contained in:
mordred 2018-10-26 10:00:32 +02:00
parent 929955013d
commit c51de6b7c0
4 changed files with 2 additions and 10 deletions

View file

@ -52,10 +52,6 @@ bool Core::Network::SapphireAPI::login( const std::string& username, const std::
pSession->setAccountId( accountId );
pSession->setSessionId( sid );
//auto ip2 = boost::asio::ip::address::from_string( request->remote_endpoint_address );
//pSession->setIP( ip2.to_v4().to_ulong() );
std::stringstream ss;
for( size_t i = 0; i < 56; i++ )

View file

@ -4,7 +4,6 @@
#include <string>
#include <vector>
#include <map>
#include <boost/shared_ptr.hpp>
#include "PlayerMinimal.h"
@ -51,4 +50,4 @@ public:
}
}
#endif
#endif

View file

@ -2,8 +2,6 @@
#define CLIENT_HTTP_HPP
#include <asio.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/functional/hash.hpp>
#include <unordered_map>
#include <map>

View file

@ -2,7 +2,6 @@
#define SERVER_HTTP_HPP
#include <asio.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <Util/Util.h>
#include <map>
@ -14,7 +13,7 @@
#ifndef CASE_INSENSITIVE_EQUALS_AND_HASH
#define CASE_INSENSITIVE_EQUALS_AND_HASH
//Based on http://www.boost.org/doc/libs/1_60_0/doc/html/unordered/hash_equality.html
class case_insensitive_equals {
public:
bool operator()(const std::string &key1, const std::string &key2) const {