github-actions[bot] commented on code in PR #19155: URL: https://github.com/apache/doris/pull/19155#discussion_r1178839107
########## be/src/pipeline/exec/operator.h: ########## @@ -42,13 +42,15 @@ class RuntimeState; class TDataSink; } // namespace doris -#define OPERATOR_CODE_GENERATOR(NAME, SUBCLASS) \ - NAME##Builder::NAME##Builder(int32_t id, ExecNode* exec_node) \ - : OperatorBuilder(id, #NAME, exec_node) {} \ - \ - OperatorPtr NAME##Builder::build_operator() { return std::make_shared<NAME>(this, _node); } \ - \ - NAME::NAME(OperatorBuilderBase* operator_builder, ExecNode* node) \ +#define OPERATOR_CODE_GENERATOR(NAME, SUBCLASS) \ Review Comment: warning: macro is not used [clang-diagnostic-unused-macros] ```cpp #define OPERATOR_CODE_GENERATOR(NAME, SUBCLASS) \ ^ ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org