This is an automated email from the ASF dual-hosted git repository.

adebreceni pushed a commit to branch MINIFICPP-2669
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit c68a7329c2e30dec637ba3a51eb9cc548781b44c
Author: Adam Debreceni <[email protected]>
AuthorDate: Tue Jan 6 13:40:51 2026 +0100

    MINIFICPP-2669 - Clang tidy fix
---
 extensions/standard-processors/tests/unit/TailFileTests.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/standard-processors/tests/unit/TailFileTests.cpp 
b/extensions/standard-processors/tests/unit/TailFileTests.cpp
index 8b75dd1c0..3d6979a8e 100644
--- a/extensions/standard-processors/tests/unit/TailFileTests.cpp
+++ b/extensions/standard-processors/tests/unit/TailFileTests.cpp
@@ -1723,7 +1723,7 @@ class TestAttributeProviderService final : public 
minifi::controllers::Attribute
     return std::vector<AttributeMap>{AttributeMap{{"color", "red"}, {"fruit", 
"apple"}, {"uid", "001"}, {"animal", "dog"}},
                                      AttributeMap{{"color", "yellow"}, 
{"fruit", "banana"}, {"uid", "004"}, {"animal", "dolphin"}}};
   }
-  std::string_view name() const override { return "test"; }
+  [[nodiscard]] std::string_view name() const override { return "test"; }
 };
 REGISTER_RESOURCE(TestAttributeProviderService, ControllerService);
 

Reply via email to