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 <[email protected]>
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 {