You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by lo...@apache.org on 2023/02/24 14:19:31 UTC

[nifi-minifi-cpp] branch MINIFICPP-2028 updated: Fix clang tidy issue

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

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


The following commit(s) were added to refs/heads/MINIFICPP-2028 by this push:
     new a0ae0897b Fix clang tidy issue
a0ae0897b is described below

commit a0ae0897b8df9f17d55364a4b38c8f6e32656f51
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Fri Feb 24 15:19:03 2023 +0100

    Fix clang tidy issue
---
 extensions/standard-processors/tests/unit/PutTCPTests.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/standard-processors/tests/unit/PutTCPTests.cpp b/extensions/standard-processors/tests/unit/PutTCPTests.cpp
index ac44c4db8..524c451b2 100644
--- a/extensions/standard-processors/tests/unit/PutTCPTests.cpp
+++ b/extensions/standard-processors/tests/unit/PutTCPTests.cpp
@@ -202,8 +202,8 @@ class PutTCPTestFixture {
     put_tcp_->setProperty(PutTCP::Port, utils::StringUtils::join_pack("${literal('", std::to_string(port), "')}"));
   }
 
-  void setPutTCPPort(std::string port_str) {
-    put_tcp_->setProperty(PutTCP::Port, std::move(port_str));
+  void setPutTCPPort(const std::string& port_str) {
+    put_tcp_->setProperty(PutTCP::Port, port_str);
   }
 
   [[nodiscard]] uint16_t getSinglePort() const {