Core: Fixed VS 2013 build

This commit is contained in:
Shauren
2016-03-28 22:32:54 +02:00
parent 4a679ba1be
commit adc7b5e1f1
2 changed files with 14 additions and 0 deletions
@@ -361,6 +361,18 @@ void LoginRESTService::CleanupLoginTickets(boost::system::error_code const& erro
_loginTicketCleanupTimer->async_wait(std::bind(&LoginRESTService::CleanupLoginTickets, this, std::placeholders::_1));
}
LoginRESTService::LoginTicket& LoginRESTService::LoginTicket::operator=(LoginTicket&& right)
{
if (this != &right)
{
Id = std::move(right.Id);
Account = std::move(right.Account);
ExpiryTime = right.ExpiryTime;
}
return *this;
}
Namespace namespaces[] =
{
{ NULL, NULL, NULL, NULL }
@@ -64,6 +64,8 @@ private:
struct LoginTicket
{
LoginTicket& operator=(LoginTicket&& right);
std::string Id;
std::unique_ptr<Battlenet::Session::AccountInfo> Account;
std::time_t ExpiryTime;