diff --git a/src/servers/sapphire_api/SapphireAPI.cpp b/src/servers/sapphire_api/SapphireAPI.cpp index 7e1225b4..ef39791f 100644 --- a/src/servers/sapphire_api/SapphireAPI.cpp +++ b/src/servers/sapphire_api/SapphireAPI.cpp @@ -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++ ) diff --git a/src/servers/sapphire_api/SapphireAPI.h b/src/servers/sapphire_api/SapphireAPI.h index 00b0f610..a891dea2 100644 --- a/src/servers/sapphire_api/SapphireAPI.h +++ b/src/servers/sapphire_api/SapphireAPI.h @@ -4,7 +4,6 @@ #include #include #include -#include #include "PlayerMinimal.h" @@ -51,4 +50,4 @@ public: } } -#endif \ No newline at end of file +#endif diff --git a/src/servers/sapphire_api/client_http.hpp b/src/servers/sapphire_api/client_http.hpp index a03662fe..072dd0eb 100644 --- a/src/servers/sapphire_api/client_http.hpp +++ b/src/servers/sapphire_api/client_http.hpp @@ -2,8 +2,6 @@ #define CLIENT_HTTP_HPP #include -#include -#include #include #include diff --git a/src/servers/sapphire_api/server_http.hpp b/src/servers/sapphire_api/server_http.hpp index 55a0ac09..fbc25d43 100644 --- a/src/servers/sapphire_api/server_http.hpp +++ b/src/servers/sapphire_api/server_http.hpp @@ -2,7 +2,6 @@ #define SERVER_HTTP_HPP #include -#include #include #include @@ -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 {