github-actions[bot] commented on code in PR #24844:
URL: https://github.com/apache/doris/pull/24844#discussion_r1339639141
##########
be/src/pipeline/pipeline_task.h:
##########
@@ -246,6 +249,17 @@ class PipelineTask {
TUniqueId instance_id() const { return _state->fragment_instance_id(); }
+ void set_empty_task(bool is_empty_task) { _is_empty_task = is_empty_task; }
+
+ bool is_empty_task() const { return _is_empty_task; }
Review Comment:
warning: function 'is_empty_task' should be marked [[nodiscard]]
[modernize-use-nodiscard]
```suggestion
[[nodiscard]] bool is_empty_task() const { return _is_empty_task; }
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]