Merge pull request #2325 from lioncash/name

kernel/server_session: Provide a GetName() override
This commit is contained in:
bunnei 2019-04-05 23:48:13 -04:00 committed by GitHub
commit 7d1c0fd1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,10 @@ public:
return "ServerSession"; return "ServerSession";
} }
std::string GetName() const override {
return name;
}
static const HandleType HANDLE_TYPE = HandleType::ServerSession; static const HandleType HANDLE_TYPE = HandleType::ServerSession;
HandleType GetHandleType() const override { HandleType GetHandleType() const override {
return HANDLE_TYPE; return HANDLE_TYPE;