ensure osiSockAttach()

This commit is contained in:
Michael Davidsaver
2020-05-31 09:03:11 -07:00
parent e71cd46dd8
commit b6ee231ba8
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -166,6 +166,8 @@ struct Channel {
struct Context::Pvt
{
SockAttach attach;
std::weak_ptr<Pvt> internal_self;
std::shared_ptr<Pvt> shared_from_this() {
std::shared_ptr<Pvt> ret(internal_self);
+2
View File
@@ -196,6 +196,8 @@ using namespace impl;
struct Server::Pvt
{
SockAttach attach;
std::weak_ptr<Server::Pvt> internal_self;
// "const" after ctor