mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
Declare empty ServerSession and ClientSession constructors as default.
This commit is contained in:
parent
ed210c32b3
commit
2ce61344d6
2 changed files with 4 additions and 4 deletions
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
ClientSession::ClientSession() {}
|
ClientSession::ClientSession() = default;
|
||||||
ClientSession::~ClientSession() {}
|
ClientSession::~ClientSession() = default;
|
||||||
|
|
||||||
ResultVal<SharedPtr<ClientSession>> ClientSession::Create(SharedPtr<ServerSession> server_session, std::string name) {
|
ResultVal<SharedPtr<ClientSession>> ClientSession::Create(SharedPtr<ServerSession> server_session, std::string name) {
|
||||||
SharedPtr<ClientSession> client_session(new ClientSession);
|
SharedPtr<ClientSession> client_session(new ClientSession);
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
namespace Kernel {
|
namespace Kernel {
|
||||||
|
|
||||||
ServerSession::ServerSession() {}
|
ServerSession::ServerSession() = default;
|
||||||
ServerSession::~ServerSession() {}
|
ServerSession::~ServerSession() = default;
|
||||||
|
|
||||||
ResultVal<SharedPtr<ServerSession>> ServerSession::Create(std::string name, std::shared_ptr<Service::SessionRequestHandler> hle_handler) {
|
ResultVal<SharedPtr<ServerSession>> ServerSession::Create(std::string name, std::shared_ptr<Service::SessionRequestHandler> hle_handler) {
|
||||||
SharedPtr<ServerSession> server_session(new ServerSession);
|
SharedPtr<ServerSession> server_session(new ServerSession);
|
||||||
|
|
Loading…
Reference in a new issue