From cf34e9200331bf8324c94484c47d3fec317f7bbd Mon Sep 17 00:00:00 2001 From: tempate Date: Mon, 6 Nov 2023 10:55:14 +0100 Subject: [PATCH] Apply more suggestions Signed-off-by: tempate --- .../ddspipe_participants/reader/dds/CommonReader.hpp | 2 +- ddspipe_yaml/src/cpp/YamlReader_types.cpp | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ddspipe_participants/include/ddspipe_participants/reader/dds/CommonReader.hpp b/ddspipe_participants/include/ddspipe_participants/reader/dds/CommonReader.hpp index 32af8a84..f1e33445 100644 --- a/ddspipe_participants/include/ddspipe_participants/reader/dds/CommonReader.hpp +++ b/ddspipe_participants/include/ddspipe_participants/reader/dds/CommonReader.hpp @@ -136,7 +136,7 @@ class CommonReader : public BaseReader, public fastdds::dds::DataReaderListener fastdds::dds::DataReaderQos reckon_reader_qos_() const; - //! Whether a change received should be processed + //! Whether a sample received should be processed virtual bool should_accept_sample_( const fastdds::dds::SampleInfo& info) noexcept; diff --git a/ddspipe_yaml/src/cpp/YamlReader_types.cpp b/ddspipe_yaml/src/cpp/YamlReader_types.cpp index 3ac08602..9e9286b9 100644 --- a/ddspipe_yaml/src/cpp/YamlReader_types.cpp +++ b/ddspipe_yaml/src/cpp/YamlReader_types.cpp @@ -655,10 +655,14 @@ std::ostream& operator <<( break; case V_3_1: - case LATEST: os << VERSION_TAG_V_3_1; break; + case V_4_0: + case LATEST: + os << VERSION_TAG_V_4_0; + break; + default: utils::tsnh(STR_ENTRY << "Value of YamlReaderVersion out of enumeration."); break;