Skip to content

Commit

Permalink
Core: Fixed VS 2013 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Shauren committed Mar 28, 2016
1 parent 4a679ba commit adc7b5e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/server/bnetserver/REST/LoginRESTService.cpp
Expand Up @@ -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 }
Expand Down
2 changes: 2 additions & 0 deletions src/server/bnetserver/REST/LoginRESTService.h
Expand Up @@ -64,6 +64,8 @@ class LoginRESTService

struct LoginTicket
{
LoginTicket& operator=(LoginTicket&& right);

std::string Id;
std::unique_ptr<Battlenet::Session::AccountInfo> Account;
std::time_t ExpiryTime;
Expand Down

0 comments on commit adc7b5e

Please sign in to comment.