mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:40:05 +00:00
Pass context shared pointer by reference
This commit is contained in:
parent
30de3a59fc
commit
bf2569cb3e
2 changed files with 6 additions and 6 deletions
|
|
@ -62,8 +62,8 @@ Level2MessageFactory::CreateContext()
|
|||
return std::make_shared<Context>();
|
||||
}
|
||||
|
||||
Level2MessageInfo Level2MessageFactory::Create(std::istream& is,
|
||||
std::shared_ptr<Context> ctx)
|
||||
Level2MessageInfo Level2MessageFactory::Create(std::istream& is,
|
||||
std::shared_ptr<Context>& ctx)
|
||||
{
|
||||
Level2MessageInfo info;
|
||||
Level2MessageHeader header;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue