Skip to content

Commit

Permalink
Add back session holder init: it looks like -Wextra is more strict on…
Browse files Browse the repository at this point in the history
… what calls should be made on base classes
  • Loading branch information
andy31415 committed Apr 6, 2022
1 parent 7496aaf commit 7d8881e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport/SessionHolder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SessionHolder::~SessionHolder()
Release();
}

SessionHolder::SessionHolder(const SessionHolder & that)
SessionHolder::SessionHolder(const SessionHolder & that) : IntrusiveListNodeBase()
{
mSession = that.mSession;
if (mSession.HasValue())
Expand All @@ -33,7 +33,7 @@ SessionHolder::SessionHolder(const SessionHolder & that)
}
}

SessionHolder::SessionHolder(SessionHolder && that)
SessionHolder::SessionHolder(SessionHolder && that) : IntrusiveListNodeBase()
{
mSession = that.mSession;
if (mSession.HasValue())
Expand Down

0 comments on commit 7d8881e

Please sign in to comment.