Skip to content

Commit

Permalink
struct?
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Dec 5, 2024
1 parent 32e6949 commit 668b0d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ PluginWidget::~PluginWidget()
subscriber_.RemReceiveCallback();
}

void PluginWidget::ecalMessageReceivedCallback(const eCAL::SReceiveCallbackData& callback_data)
void PluginWidget::ecalMessageReceivedCallback(const struct eCAL::SReceiveCallbackData& callback_data)
{
std::lock_guard<std::mutex> message_lock(message_mutex_);
last_message_ = QByteArray(static_cast<char*>(callback_data.buf), callback_data.size);
Expand Down
2 changes: 1 addition & 1 deletion ecal/core/include/ecal/ecal_callback.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ namespace eCAL
* @param topic_id_ The topic id struct of the received message.
* @param data_ Data struct containing payload, timestamp and publication clock.
**/
using ReceiveIDCallbackT = std::function<void(const Registration::STopicId&, const SDataTypeInformation&, const SReceiveCallbackData&)>;
using ReceiveIDCallbackT = std::function<void(const struct Registration::STopicId&, const struct SDataTypeInformation&, const struct SReceiveCallbackData&)>;

/**
* @brief Timer callback function type.
Expand Down

0 comments on commit 668b0d2

Please sign in to comment.