diff options
author | Subv <subv2112@gmail.com> | 2016-12-03 04:58:02 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-12-03 04:58:02 +0100 |
commit | 2ce61344d612b8574e12d8acdf59ac994b390ab5 (patch) | |
tree | 5ea236560b04a03197100b8479153d5c89ce8cec /src | |
parent | Threads do not wait for the server endpoint to call AcceptSession before returning from a ConnectToPort or GetServiceHandle call. (diff) | |
download | yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.tar yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.tar.gz yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.tar.bz2 yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.tar.lz yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.tar.xz yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.tar.zst yuzu-2ce61344d612b8574e12d8acdf59ac994b390ab5.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/client_session.cpp | 4 | ||||
-rw-r--r-- | src/core/hle/kernel/server_session.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp index c8be29b0a..c90fbc69d 100644 --- a/src/core/hle/kernel/client_session.cpp +++ b/src/core/hle/kernel/client_session.cpp @@ -9,8 +9,8 @@ namespace Kernel { -ClientSession::ClientSession() {} -ClientSession::~ClientSession() {} +ClientSession::ClientSession() = default; +ClientSession::~ClientSession() = default; ResultVal<SharedPtr<ClientSession>> ClientSession::Create(SharedPtr<ServerSession> server_session, std::string name) { SharedPtr<ClientSession> client_session(new ClientSession); diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index 006d67e65..be334efd7 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -10,8 +10,8 @@ namespace Kernel { -ServerSession::ServerSession() {} -ServerSession::~ServerSession() {} +ServerSession::ServerSession() = default; +ServerSession::~ServerSession() = default; ResultVal<SharedPtr<ServerSession>> ServerSession::Create(std::string name, std::shared_ptr<Service::SessionRequestHandler> hle_handler) { SharedPtr<ServerSession> server_session(new ServerSession); |