Compile fixes for linux cpp++11

This commit is contained in:
Ubuntu
2016-10-30 19:42:28 +00:00
parent f3e2af7e42
commit 7f7a4b0f2d
4 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ ServerManager::ServerManager()
server_entity->Reset();
}
else {
world_servers.push_back(std::make_unique<WorldServer>(c));
world_servers.push_back(std::unique_ptr<WorldServer>(new WorldServer(c)));
}
});
@@ -261,4 +261,4 @@ void ServerManager::DestroyServerByName(std::string l_name, std::string s_name,
++iter;
}
}
}