mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
ResultVal: Remove MoveFrom()
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
This commit is contained in:
parent
ec6a30b8bb
commit
c27dad4cd1
24 changed files with 53 additions and 57 deletions
|
@ -71,7 +71,7 @@ ResultCode ServerSession::HandleSyncRequest() {
|
|||
|
||||
ServerSession::SessionPair ServerSession::CreateSessionPair(const std::string& name,
|
||||
SharedPtr<ClientPort> port) {
|
||||
auto server_session = ServerSession::Create(name + "_Server").MoveFrom();
|
||||
auto server_session = ServerSession::Create(name + "_Server").Unwrap();
|
||||
SharedPtr<ClientSession> client_session(new ClientSession);
|
||||
client_session->name = name + "_Client";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue