Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use
[[nodiscard]]
attribute on compiler not supporting it.
On aarch64, we use gcc version 6.3.0 which doesn't support the `[[nodiscard]]` attribute (see https://en.cppreference.com/w/cpp/compiler_support/17) So don't set the attribute if the attribute is not present.
- Loading branch information