Code Health: apply [[nodiscard]] to functions that return status codes #951
Labels
Area-CodeHealth
Issues related to code cleanliness, linting, rules, warnings, errors, static analysis, etc.
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Meta
The product is the management of the products.
Functions returning status codes should use [[nodiscard]] as mentioned recently by @adiviness.
They should also use noexcept, but that's a much more invasive change, so this issue is just about [[nodiscard]].
The text was updated successfully, but these errors were encountered: