add compile-time warning about ignoring returned StatusCode
as [[nodiscard]]
is C++17, use [[gnu:warn_unused_result]]
, which works
on both gcc and clang -- see https://godbolt.org/g/RsFcwj -- instead.
Edited by Marco Clemencic
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
as [[nodiscard]]
is C++17, use [[gnu:warn_unused_result]]
, which works
on both gcc and clang -- see https://godbolt.org/g/RsFcwj -- instead.