szaszm commented on code in PR #1330: URL: https://github.com/apache/nifi-minifi-cpp/pull/1330#discussion_r872591290
########## libminifi/test/unit/SocketTests.cpp: ########## @@ -190,7 +190,7 @@ TEST_CASE("TestTLSContextCreation", "[TestSocket8]") { std::function<bool()> f_ex = createSocket; utils::Worker<bool> functor(f_ex, "id"); std::future<bool> fut; - pool.execute(std::move(functor), fut); + pool.execute(std::move(functor), fut); // NOLINT(bugprone-use-after-move) Review Comment: If we get these false positives, I'd rather disable the check. This is clearly correct usage, and I don't want to have NOLINT everywhere. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org