clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit 074531510c1a7caf4ea4a6f0e97896ab68b07c14
parent 55f9d9194508a39016f06146049cae103c05cb40
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date:   Tue, 14 Jun 2022 09:40:47 +0200

Seems that [[nodiscard]] isn't cool with C17

Diffstat:
Minclude/clap/private/macros.h | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/clap/private/macros.h b/include/clap/private/macros.h @@ -27,8 +27,6 @@ #if defined(__cplusplus) && __cplusplus >= 201703L # define CLAP_HAS_CXX17 # define CLAP_NODISCARD [[nodiscard]] -#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201300L -# define CLAP_NODISCARD [[nodiscard]] #else # define CLAP_NODISCARD #endif