From 2ce61344d612b8574e12d8acdf59ac994b390ab5 Mon Sep 17 00:00:00 2001 From: Subv Date: Fri, 2 Dec 2016 22:58:02 -0500 Subject: [PATCH] Declare empty ServerSession and ClientSession constructors as default. --- src/core/hle/kernel/client_session.cpp | 4 ++-- 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 c8be29b0a5..c90fbc69df 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> ClientSession::Create(SharedPtr server_session, std::string name) { SharedPtr client_session(new ClientSession); diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index 006d67e65b..be334efd70 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> ServerSession::Create(std::string name, std::shared_ptr hle_handler) { SharedPtr server_session(new ServerSession);