From 25c5f088922f3bc878f917c1af64876d505efdb0 Mon Sep 17 00:00:00 2001 From: rex-schilasky <49162693+rex-schilasky@users.noreply.github.com> Date: Fri, 6 Dec 2024 11:01:08 +0100 Subject: [PATCH] renaming fix --- app/play/play_core/src/measurement_container.cpp | 2 +- ecal/core/src/cimpl/ecal_publisher_cimpl.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/play/play_core/src/measurement_container.cpp b/app/play/play_core/src/measurement_container.cpp index 1443b6338a..4909d5cef9 100644 --- a/app/play/play_core/src/measurement_container.cpp +++ b/app/play/play_core/src/measurement_container.cpp @@ -219,7 +219,7 @@ bool MeasurementContainer::PublishFrame(long long index) { timestamp_usecs = std::chrono::duration_cast(frame_table_[index].send_timestamp_.time_since_epoch()).count(); } - frame_table_[index].publisher_info_->publisher_.SetFilterID(frame_table_[index].send_id_); + frame_table_[index].publisher_info_->publisher_.SetID(frame_table_[index].send_id_); frame_table_[index].publisher_info_->publisher_.Send(send_buffer_, data_size, timestamp_usecs); frame_table_[index].publisher_info_->message_counter_++; return true; diff --git a/ecal/core/src/cimpl/ecal_publisher_cimpl.cpp b/ecal/core/src/cimpl/ecal_publisher_cimpl.cpp index 4684e05be4..cc32d00e35 100644 --- a/ecal/core/src/cimpl/ecal_publisher_cimpl.cpp +++ b/ecal/core/src/cimpl/ecal_publisher_cimpl.cpp @@ -1,6 +1,6 @@ /* ========================= eCAL LICENSE ================================= * - * Copyright (C) 2016 - 2019 Continental Corporation + * Copyright (C) 2016 - 2024 Continental Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -93,7 +93,7 @@ extern "C" { if (handle_ == nullptr) return(0); auto* pub = static_cast(handle_); - if (pub->SetFilterID(id_)) return(1); + if (pub->SetID(id_)) return(1); return(0); }