1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00

move default constructors for SapphireAPI to header

This commit is contained in:
NotAdam 2019-03-17 21:10:20 +11:00
parent 8f435083a6
commit 815acb2b09
2 changed files with 2 additions and 6 deletions

View file

@ -10,9 +10,6 @@
#include <Database/DatabaseDef.h> #include <Database/DatabaseDef.h>
Sapphire::Network::SapphireAPI::SapphireAPI() = default;
Sapphire::Network::SapphireAPI::~SapphireAPI() = default;
bool Sapphire::Network::SapphireAPI::login( const std::string& username, const std::string& pass, std::string& sId ) bool Sapphire::Network::SapphireAPI::login( const std::string& username, const std::string& pass, std::string& sId )
{ {
std::string query = std::string query =

View file

@ -18,9 +18,8 @@ namespace Sapphire::Network
class SapphireAPI class SapphireAPI
{ {
public: public:
SapphireAPI(); SapphireAPI() = default;
~SapphireAPI() = default;
~SapphireAPI();
using SessionMap = std::map< std::string, std::shared_ptr< Session > >; using SessionMap = std::map< std::string, std::shared_ptr< Session > >;