Skip to content

Annotate Job with [[nodiscard]]

Christian Mollekopf requested to merge cmollekopf/kasync:master into master

This prevents pretty hard to spot errors when calling a function that seemingly does something, but actually returns a job that needs to be executed. I'm not aware of a valid usecase, so we can just annotate Job IMO.

Works well for the sink codebase.

Merge request reports