You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed in #999 that Session is no longer movable/copyable. And it is recommended to use shared_ptr.
Session currently publicly inherits from std::enable_shared_from_this<Session>, so I can use session->shared_from_this(), but I noticed there is also a private function that provides the same functionality: Session::GetSharedPtrFromThis().
Is this a bug?
Example/How to Reproduce
See above :)
Possible Fix
Mark Session::GetSharedPtrFromThis() as a public.
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
OS: Linux
Version: 1.11.0
The text was updated successfully, but these errors were encountered:
Description
I noticed in #999 that
Session
is no longer movable/copyable. And it is recommended to use shared_ptr.Session currently publicly inherits from
std::enable_shared_from_this<Session>
, so I can usesession->shared_from_this()
, but I noticed there is also a private function that provides the same functionality:Session::GetSharedPtrFromThis()
.Is this a bug?
Example/How to Reproduce
See above :)
Possible Fix
Mark
Session::GetSharedPtrFromThis()
as a public.Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
The text was updated successfully, but these errors were encountered: