Skip to content

Commit

Permalink
Fix compilation errors on gcc13
Browse files Browse the repository at this point in the history
  • Loading branch information
AnarManafov committed Jan 2, 2024
1 parent 828c49e commit a47c1d1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions dds-protocol-lib/src/BaseChannelImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ namespace dds
DDS_DECLARE_EVENT_HANDLER_CLASS(CChannelMessageHandlersImpl)

protected:
CBaseChannelImpl<T>(boost::asio::io_context& _service, uint64_t _protocolHeaderID)
CBaseChannelImpl(boost::asio::io_context& _service, uint64_t _protocolHeaderID)
: CChannelEventHandlersImpl()
, CChannelMessageHandlersImpl()
, m_isHandshakeOK(false)
Expand Down Expand Up @@ -265,7 +265,7 @@ namespace dds
}

public:
~CBaseChannelImpl<T>()
~CBaseChannelImpl()
{
LOG(dds::misc::info) << "Channel " << gChannelTypeName[m_channelType] << " destructor is called";
stop();
Expand Down
6 changes: 3 additions & 3 deletions dds-protocol-lib/src/BaseSMChannelImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ namespace dds
DDS_DECLARE_EVENT_HANDLER_CLASS(CChannelMessageHandlersImpl)

protected:
CBaseSMChannelImpl<T>(boost::asio::io_context& _service,
CBaseSMChannelImpl(boost::asio::io_context& _service,
const std::string& _inputName,
const std::string& _outputName,
uint64_t _protocolHeaderID,
Expand All @@ -209,7 +209,7 @@ namespace dds
defaultInit({ _inputName }, _outputName, _inputOpenType, _outputOpenType);
}

CBaseSMChannelImpl<T>(boost::asio::io_context& _service,
CBaseSMChannelImpl(boost::asio::io_context& _service,
const std::vector<std::string>& _inputNames,
const std::string& _outputName,
uint64_t _protocolHeaderID,
Expand Down Expand Up @@ -250,7 +250,7 @@ namespace dds
}

public:
~CBaseSMChannelImpl<T>()
~CBaseSMChannelImpl()
{
LOG(dds::misc::info) << "SM: channel destructor is called. MQ: " << getName();
stop();
Expand Down
6 changes: 3 additions & 3 deletions dds-protocol-lib/src/ClientChannelImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace dds
class CClientChannelImpl : public CBaseChannelImpl<T>
{
protected:
CClientChannelImpl<T>(boost::asio::io_context& _service,
CClientChannelImpl(boost::asio::io_context& _service,
EChannelType _channelType,
uint64_t _protocolHeaderID)
: CBaseChannelImpl<T>(_service, _protocolHeaderID)
Expand All @@ -31,7 +31,7 @@ namespace dds
[this](const SSenderInfo& _sender,
SCommandAttachmentImpl<cmdREPLY_HANDSHAKE_OK>::ptr_t /*_attachment*/)
{
LOG(dds::misc::info) << "Successfull handshake";
LOG(dds::misc::info) << "Successful handshake";

this->m_isHandshakeOK = true;

Expand Down Expand Up @@ -60,7 +60,7 @@ namespace dds
});
}

~CClientChannelImpl<T>()
~CClientChannelImpl()
{
}

Expand Down
4 changes: 2 additions & 2 deletions dds-protocol-lib/src/ServerChannelImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace dds
class CServerChannelImpl : public CBaseChannelImpl<T>
{
protected:
CServerChannelImpl<T>(boost::asio::io_context& _service, const channelTypeVector_t _requiredChannelTypes)
CServerChannelImpl(boost::asio::io_context& _service, const channelTypeVector_t _requiredChannelTypes)
: CBaseChannelImpl<T>(_service, 0)
, m_requiredChannelTypes(_requiredChannelTypes)
{
Expand Down Expand Up @@ -81,7 +81,7 @@ namespace dds
// });
}

~CServerChannelImpl<T>()
~CServerChannelImpl()
{
}

Expand Down

0 comments on commit a47c1d1

Please sign in to comment.