We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a3ae8b commit d23b6b8Copy full SHA for d23b6b8
1 file changed
extension-framework/cpp-extension-lib/mocklib/src/MockProcessSession.cpp
@@ -22,8 +22,7 @@
22
namespace org::apache::nifi::minifi::mock {
23
24
api::core::FlowFile MockProcessSession::create(const api::core::FlowFile*) {
25
- auto new_ff = api::core::FlowFile{new MinifiFlowFile}; // NOLINT(clang-analyzer-cplusplus.NewDeleteLeaks)
26
- return new_ff;
+ return api::core::FlowFile{new MinifiFlowFile};
27
}
28
api::core::FlowFile MockProcessSession::get() {
29
if (input_flow_files_.empty()) { return nullptr; }
0 commit comments