aboutsummaryrefslogtreecommitdiff
path: root/src/server/bnetserver/REST/LoginRESTService.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2016-03-28 22:32:54 +0200
committerShauren <shauren.trinity@gmail.com>2016-03-28 22:32:54 +0200
commitadc7b5e1f15d351df891cbc7a51aa277455f2f28 (patch)
treed52bc427efcfa186fe33a5d8549db64d7f1d3a2e /src/server/bnetserver/REST/LoginRESTService.cpp
parent4a679ba1be08e9302970cd7dc11fcc70e7fc4c91 (diff)
Core: Fixed VS 2013 build
Diffstat (limited to 'src/server/bnetserver/REST/LoginRESTService.cpp')
-rw-r--r--src/server/bnetserver/REST/LoginRESTService.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/server/bnetserver/REST/LoginRESTService.cpp b/src/server/bnetserver/REST/LoginRESTService.cpp
index bb1f4541080..f4b3ff395d2 100644
--- a/src/server/bnetserver/REST/LoginRESTService.cpp
+++ b/src/server/bnetserver/REST/LoginRESTService.cpp
@@ -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 }